package mylab.unitconversion;

public class VolumeConverter {

	
	//cubic millimeters to cubic centimeters, cubic decimeters, cubic meters, cubic inches, cubic feet, cubic yards, milliliters, centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CubicMillimetersCubicCentimetersFactor		=	1000.0;				//1 cubic centimeter	=	1000 				cubic millimeters.
	public final static double CubicMillimetersCubicDecimetersFactor		=	1000000.0;			//1 cubic decimeter		=	1000000 			cubic millimeters.
	public final static double CubicMillimetersCubicMetersFactor			=	1000000000.0;		//1 cubic meter			=	1000000000 			cubic millimeters.
	public final static double CubicMillimetersCubicInchesFactor			=	16387.064;			//1 cubic inch			=	16387.064 			cubic millimeters.
	public final static double CubicMillimetersCubicFeetFactor				=	28316846.592;		//1 cubic foot			=	28316846.592 		cubic millimeters.
	public final static double CubicMillimetersCubicYardsFactor				=	764554857.984001;	//1 cubic yard			=	764554857.984001 	cubic millimeters.
	public final static double CubicMillimetersMillilitersFactor			=	1000.0;				//1 milliliter			=	1000.0 				cubic millimeters.
	public final static double CubicMillimetersCentilitersFactor			=	10000.0;			//1 centiliter			=	10000.0 			cubic millimeters.
	public final static double CubicMillimetersDecilitersFactor				=	100000.0;			//1 deciliter			=	100000.0 			cubic millimeters.
	public final static double CubicMillimetersLitersFactor					=	1000000.0;			//1 liter				=	1000000.0 			cubic millimeters.
	public final static double CubicMillimetersDekalitersFactor				=	10000000.0;			//1 dekaliter			=	10000000.0			cubic millimeters.
	public final static double CubicMillimetersHectolitersFactor			=	100000000.0;		//1 hectoliter			=	100000000.0 		cubic millimeters.
	public final static double CubicMillimetersTeaspoonsFactor				=	5000.0;				//1 teaspoon			=	5000 				cubic millimeters.
	public final static double CubicMillimetersTableSpoonsFactor			=	15000.0;			//1 tablespoon			=	15000 				cubic millimeters.
	public final static double CubicMillimetersCupsFactor					=	250000.0;			//1 cup					=	250000 				cubic millimeters.
	public final static double CubicMillimetersUSTeaspoonsFactor			=	4928.92159375;		//1 US teaspoon			=	4928.92159375 		cubic millimeters.
	public final static double CubicMillimetersUSTablespoonsFactor			=	14786.76478125;		//1 US tablespoon		=	14786.76478125 		cubic millimeters.
	public final static double CubicMillimetersUSFluidouncesFactor			=	29573.5295625;		//1 US fluid ounce		=	29573.5295625 		cubic millimeters.
	public final static double CubicMillimetersUSCupsFactor					=	236588.2365;		//1 US cup				=	236588.2365 		cubic millimeters.
	public final static double CubicMillimetersUSPintsFactor				=	473176.472999999;	//1 US pint				=	473176.472999999 	cubic millimeters.
	public final static double CubicMillimetersUSQuartsFactor				=	946352.946;			//1 US quart			=	946352.946 			cubic millimeters.
	public final static double CubicMillimetersUSGallonsFactor				=	3785411.784;		//1 US gallon			=	3785411.784 		cubic millimeters.
	public final static double CubicMillimetersUSBarrelsFactor				=	119240471.196;		//1 US barrel			=	119240471.196 		cubic millimeters.
	public final static double CubicMillimetersImperialTeaspoonFactor		=	5919.388020833;		//1 imperial teaspoon	=	5919.388020833 		cubic millimeters.
	public final static double CubicMillimetersImperialTablespoonFactor		=	17758.1640625;		//1 imperial tablespoon	=	17758.1640625 		cubic millimeters.
	public final static double CubicMillimetersImperialFluidouncesFactor	=	28413.0625;			//1 imperial fluid ounce=	28413.0625 			cubic millimeters.
	public final static double CubicMillimetersImperialPintsFactor			=	568261.25;			//1 imperial pint		=	568261.25 			cubic millimeters.
	public final static double CubicMillimetersImperialQuartsFactor			=	1136522.5;			//1 imperial quart		=	1136522.5 			cubic millimeters.
	public final static double CubicMillimetersImperialGallonsFactor		=	4546090;			//1 imperial gallon		=	4546090 			cubic millimeters.
	public final static double CubicMillimetersImperialBarrelsFactor		=	163659240;			//1 imperial barrel		=	163659240 			cubic millimeters.
	

	public static double cubicMillimetersToCubicCentimeters(double value){return value/CubicMillimetersCubicCentimetersFactor;}
	public static double cubicCentimetersToCubicMillimeters(double value){return value*CubicMillimetersCubicCentimetersFactor;}
	
	public static double cubicMillimetersToCubicDecimeters(double value){return value/CubicMillimetersCubicDecimetersFactor;}
	public static double cubicDecimetersToCubicMillimeters(double value){return value*CubicMillimetersCubicDecimetersFactor;}
	
	public static double cubicMillimetersToCubicMeters(double value){return value/CubicMillimetersCubicMetersFactor;}
	public static double cubicMetersToCubicMillimeters(double value){return value*CubicMillimetersCubicMetersFactor;}
	
	public static double cubicMillimetersToCubicInches(double value){return value/CubicMillimetersCubicInchesFactor;}
	public static double cubicInchesToCubicMillimeters(double value){return value*CubicMillimetersCubicInchesFactor;}
	
	public static double cubicMillimetersToCubicFeet(double value){return value/CubicMillimetersCubicFeetFactor;}
	public static double cubicFeetToCubicMillimeters(double value){return value*CubicMillimetersCubicFeetFactor;}
	
	public static double cubicMillimetersToCubicYards(double value){return value/CubicMillimetersCubicYardsFactor;}
	public static double cubicYardsToCubicMillimeters(double value){return value*CubicMillimetersCubicYardsFactor;}
	
	public static double cubicMillimetersToMilliliters(double value){return value/CubicMillimetersMillilitersFactor;}
	public static double millilitersToCubicMillimeters(double value){return value*CubicMillimetersMillilitersFactor;}
	
	public static double cubicMillimetersToCentiliters(double value){return value/CubicMillimetersCentilitersFactor;}
	public static double centilitersToCubicMillimeters(double value){return value*CubicMillimetersCentilitersFactor;}
	
	public static double cubicMillimetersToDeciliters(double value){return value/CubicMillimetersDecilitersFactor;}
	public static double decilitersToCubicMillimeters(double value){return value*CubicMillimetersDecilitersFactor;}
	
	public static double cubicMillimetersToLiters(double value){return value/CubicMillimetersLitersFactor;}
	public static double litersToCubicMillimeters(double value){return value*CubicMillimetersLitersFactor;}
	
	public static double cubicMillimetersToDekaLiters(double value){return value/CubicMillimetersDekalitersFactor;}
	public static double dekalitersToCubicMillimeters(double value){return value*CubicMillimetersDekalitersFactor;}
	
	public static double cubicMillimetersToHectoliters(double value){return value/CubicMillimetersHectolitersFactor;}
	public static double hectolitersToCubicMillimeters(double value){return value*CubicMillimetersHectolitersFactor;}
	
	public static double cubicMillimetersToTeaspoons(double value){return value/CubicMillimetersTeaspoonsFactor;}
	public static double teaspoonsToCubicMillimeters(double value){return value*CubicMillimetersTeaspoonsFactor;}
	
	public static double cubicMillimetersToTablespoons(double value){return value/CubicMillimetersTableSpoonsFactor;}
	public static double tablespoonsToCubicMillimeters(double value){return value*CubicMillimetersTableSpoonsFactor;}
	
	public static double cubicMillimetersToCups(double value){return value/CubicMillimetersCupsFactor;}
	public static double cupsToCubicMillimeters(double value){return value*CubicMillimetersCupsFactor;}
	
	public static double cubicMillimetersToUSTeaspoons(double value){return value/CubicMillimetersUSTeaspoonsFactor;}
	public static double usTeaspoonsToCubicMillimeters(double value){return value*CubicMillimetersUSTeaspoonsFactor;}
	
	public static double cubicMillimetersToUSTablespoons(double value){return value/CubicMillimetersUSTablespoonsFactor;}
	public static double usTablespoonsToCubicMillimeters(double value){return value*CubicMillimetersUSTablespoonsFactor;}
	
	public static double cubicMillimetersToUSFluidounces(double value){return value/CubicMillimetersUSFluidouncesFactor;}
	public static double usFluidouncesToCubicMillimeters(double value){return value*CubicMillimetersUSFluidouncesFactor;}
	
	public static double cubicMillimetersToUSCups(double value){return value/CubicMillimetersUSCupsFactor;}
	public static double usCupsToCubicMillimeters(double value){return value*CubicMillimetersUSCupsFactor;}
	
	public static double cubicMillimetersToUSPints(double value){return value/CubicMillimetersUSPintsFactor;}
	public static double usPintsToCubicMillimeters(double value){return value*CubicMillimetersUSPintsFactor;}
	
	public static double cubicMillimetersToUSQuarts(double value){return value/CubicMillimetersUSQuartsFactor;}
	public static double usQuartsToCubicMillimeters(double value){return value*CubicMillimetersUSQuartsFactor;}
	
	public static double cubicMillimetersToUSGallons(double value){return value/CubicMillimetersUSGallonsFactor;}
	public static double usGallonsToCubicMillimeters(double value){return value*CubicMillimetersUSGallonsFactor;}
	
	public static double cubicMillimetersToUSBarrels(double value){return value/CubicMillimetersUSBarrelsFactor;}
	public static double usBarrelsToCubicMillimeters(double value){return value*CubicMillimetersUSBarrelsFactor;}
	
	public static double cubicMillimetersToImperialTeaspoons(double value){return value/CubicMillimetersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCubicMillimeters(double value){return value*CubicMillimetersImperialTeaspoonFactor;}
	
	public static double cubicMillimetersToImperialTablespoons(double value){return value/CubicMillimetersImperialTablespoonFactor;}
	public static double imperialTablespoonsToCubicMillimeters(double value){return value*CubicMillimetersImperialTablespoonFactor;}
	
	public static double cubicMillimetersToImperialFluidounces(double value){return value/CubicMillimetersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCubicMillimeters(double value){return value*CubicMillimetersImperialFluidouncesFactor;}
	
	public static double cubicMillimetersToImperialPints(double value){return value/CubicMillimetersImperialPintsFactor;}
	public static double imperialPintsToCubicMillimeters(double value){return value*CubicMillimetersImperialPintsFactor;}
	
	public static double cubicMillimetersToImperialQuarts(double value){return value/CubicMillimetersImperialQuartsFactor;}
	public static double imperialQuartsToCubicMillimeters(double value){return value*CubicMillimetersImperialQuartsFactor;}
	
	public static double cubicMillimetersToImperialGallons(double value){return value/CubicMillimetersImperialGallonsFactor;}
	public static double imperialGallonsToCubicMillimeters(double value){return value*CubicMillimetersImperialGallonsFactor;}
	
	public static double cubicMillimetersToImperialBarrels(double value){return value/CubicMillimetersImperialBarrelsFactor;}
	public static double imperialBarrelsToCubicMillimeters(double value){return value*CubicMillimetersImperialBarrelsFactor;}
	
	
	
	
	//cubic centimeters to cubic decimeters, cubic meters, cubic inches, cubic feet, cubic yards, milliliters, centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CubicCentimetersCubicDecimetersFactor		=	1000.0;				//1 cubic decimeter		=	1000 				cubic centimeters.
	public final static double CubicCentimetersCubicMetersFactor			=	1000000.0;			//1 cubic meter			=	1000000 			cubic centimeters.
	public final static double CubicCentimetersCubicInchesFactor			=	16.387064;			//1 cubic inch			=	16.387064 			cubic centimeters.
	public final static double CubicCentimetersCubicFeetFactor				=	28316.846592;		//1 cubic foot			=	28316.846592 		cubic centimeters.
	public final static double CubicCentimetersCubicYardsFactor				=	764554.857984001;	//1 cubic yard			=	764554.857984001 	cubic centimeters.
	public final static double CubicCentimetersMillilitersFactor			=	1.0;				//1 milliliter			=	1.0 				cubic centimeters.
	public final static double CubicCentimetersCentilitersFactor			=	10.0;				//1 centiliter			=	10.0 				cubic centimeters.
	public final static double CubicCentimetersDecilitersFactor				=	100.0;				//1 deciliter			=	100.0 				cubic centimeters.
	public final static double CubicCentimetersLitersFactor					=	1000.0;				//1 liter				=	1000.0 				cubic centimeters.
	public final static double CubicCentimetersDekalitersFactor				=	10000.0;			//1 dekaliter			=	10000.0 			cubic centimeters.
	public final static double CubicCentimetersHectolitersFactor			=	100000.0;			//1 hectoliter			=	100000.0 			cubic centimeters.
	public final static double CubicCentimetersTeaspoonsFactor				=	5.0;				//1 teaspoon			=	5 					cubic centimeters.
	public final static double CubicCentimetersTableSpoonsFactor			=	15.0;				//1 tablespoon			=	15 					cubic centimeters.
	public final static double CubicCentimetersCupsFactor					=	250.0;				//1 cup					=	250 				cubic centimeters.
	public final static double CubicCentimetersUSTeaspoonsFactor			=	4.92892159375;		//1 US teaspoon			=	4.92892159375 		cubic centimeters.
	public final static double CubicCentimetersUSTablespoonsFactor			=	14.78676478125;		//1 US tablespoon		=	14.78676478125 		cubic centimeters.
	public final static double CubicCentimetersUSFluidouncesFactor			=	29.5735295625;		//1 US fluid ounce		=	29.5735295625 		cubic centimeters.
	public final static double CubicCentimetersUSCupsFactor					=	236.5882365;		//1 US cup				=	236.5882365			cubic centimeters.
	public final static double CubicCentimetersUSPintsFactor				=	473.176472999999;	//1 US pint				=	473.176472999999 	cubic centimeters.
	public final static double CubicCentimetersUSQuartsFactor				=	946.352946;			//1 US quart			=	946.352946 			cubic centimeters.
	public final static double CubicCentimetersUSGallonsFactor				=	3785.411784;		//1 US gallon			=	3785.411784 		cubic centimeters.
	public final static double CubicCentimetersUSBarrelsFactor				=	119240.471196;		//1 US barrel			=	119240.471196 		cubic centimeters.
	public final static double CubicCentimetersImperialTeaspoonFactor		=	5.919388020833;		//1 imperial teaspoon	=	5.919388020833 		cubic centimeters.
	public final static double CubicCentimetersImperialTablespoonFactor		=	17.7581640625;		//1 imperial tablespoon	=	17.7581640625 		cubic centimeters.
	public final static double CubicCentimetersImperialFluidouncesFactor	=	28.4130625;			//1 imperial fluid ounce=	28.4130625 			cubic centimeters.
	public final static double CubicCentimetersImperialPintsFactor			=	568.26125;			//1 imperial pint		=	568.26125 			cubic centimeters.
	public final static double CubicCentimetersImperialQuartsFactor			=	1136.5225;			//1 imperial quart		=	1136.5225 			cubic centimeters.
	public final static double CubicCentimetersImperialGallonsFactor		=	4546.09;			//1 imperial gallon		=	4546.09 			cubic centimeters.
	public final static double CubicCentimetersImperialBarrelsFactor		=	163659.24;			//1 imperial barrel		=	163659.24			cubic centimeters.

	
	
	public static double cubicCentimetersToCubicDecimeters(double value){return value/CubicCentimetersCubicDecimetersFactor;}
	public static double cubicDecimetersToCubicCentimeters(double value){return value*CubicCentimetersCubicDecimetersFactor;}
	
	public static double cubicCentimetersToCubicMeters(double value){return value/CubicCentimetersCubicMetersFactor;}
	public static double cubicMetersToCubicCentimeters(double value){return value*CubicCentimetersCubicMetersFactor;}
	
	public static double cubicCentimetersToCubicInches(double value){return value/CubicCentimetersCubicInchesFactor;}
	public static double cubicInchesToCubicCentimeters(double value){return value*CubicCentimetersCubicInchesFactor;}
	
	public static double cubicCentimetersToCubicFeet(double value){return value/CubicCentimetersCubicFeetFactor;}
	public static double cubicFeetToCubicCentimeters(double value){return value*CubicCentimetersCubicFeetFactor;}
	
	public static double cubicCentimetersToCubicYards(double value){return value/CubicCentimetersCubicYardsFactor;}
	public static double cubicYardsToCubicCentimeters(double value){return value*CubicCentimetersCubicYardsFactor;}
	
	public static double cubicCentimetersToMilliliters(double value){return value/CubicCentimetersMillilitersFactor;}
	public static double millilitersToCubicCentimeters(double value){return value*CubicCentimetersMillilitersFactor;}
	
	public static double cubicCentimetersToCentiliters(double value){return value/CubicCentimetersCentilitersFactor;}
	public static double centilitersToCubicCentimeters(double value){return value*CubicCentimetersCentilitersFactor;}
	
	public static double cubicCentimetersToDeciliters(double value){return value/CubicCentimetersDecilitersFactor;}
	public static double decilitersToCubicCentimeters(double value){return value*CubicCentimetersDecilitersFactor;}
	
	public static double cubicCentimetersToLiters(double value){return value/CubicCentimetersLitersFactor;}
	public static double litersToCubicCentimeters(double value){return value*CubicCentimetersLitersFactor;}
	
	public static double cubicCentimetersToDekaLiters(double value){return value/CubicCentimetersDekalitersFactor;}
	public static double dekalitersToCubicCentimeters(double value){return value*CubicCentimetersDekalitersFactor;}
	
	public static double cubicCentimetersToHectoliters(double value){return value/CubicCentimetersHectolitersFactor;}
	public static double hectolitersToCubicCentimeters(double value){return value*CubicCentimetersHectolitersFactor;}
	
	public static double cubicCentimetersToTeaspoons(double value){return value/CubicCentimetersTeaspoonsFactor;}
	public static double teaspoonsToCubicCentimeters(double value){return value*CubicCentimetersTeaspoonsFactor;}
	
	public static double cubicCentimetersToTablespoons(double value){return value/CubicCentimetersTableSpoonsFactor;}
	public static double tablespoonsToCubicCentimeters(double value){return value*CubicCentimetersTableSpoonsFactor;}
	
	public static double cubicCentimetersToCups(double value){return value/CubicCentimetersCupsFactor;}
	public static double cupsToCubicCentimeters(double value){return value*CubicCentimetersCupsFactor;}
	
	public static double cubicCentimetersToUSTeaspoons(double value){return value/CubicCentimetersUSTeaspoonsFactor;}
	public static double usTeaspoonsToCubicCentimeters(double value){return value*CubicCentimetersUSTeaspoonsFactor;}
	
	public static double cubicCentimetersToUSTablespoons(double value){return value/CubicCentimetersUSTablespoonsFactor;}
	public static double usTablespoonsToCubicCentimeters(double value){return value*CubicCentimetersUSTablespoonsFactor;}
	
	public static double cubicCentimetersToUSFluidounces(double value){return value/CubicCentimetersUSFluidouncesFactor;}
	public static double usFluidouncesToCubicCentimeters(double value){return value*CubicCentimetersUSFluidouncesFactor;}
	
	public static double cubicCentimetersToUSCups(double value){return value/CubicCentimetersUSCupsFactor;}
	public static double usCupsToCubicCentimeters(double value){return value*CubicCentimetersUSCupsFactor;}
	
	public static double cubicCentimetersToUSPints(double value){return value/CubicCentimetersUSPintsFactor;}
	public static double usPintsToCubicCentimeters(double value){return value*CubicCentimetersUSPintsFactor;}
	
	public static double cubicCentimetersToUSQuarts(double value){return value/CubicCentimetersUSQuartsFactor;}
	public static double usQuartsToCubicCentimeters(double value){return value*CubicCentimetersUSQuartsFactor;}
	
	public static double cubicCentimetersToUSGallons(double value){return value/CubicCentimetersUSGallonsFactor;}
	public static double usGallonsToCubicCentimeters(double value){return value*CubicCentimetersUSGallonsFactor;}
	
	public static double cubicCentimetersToUSBarrels(double value){return value/CubicCentimetersUSBarrelsFactor;}
	public static double usBarrelsToCubicCentimeters(double value){return value*CubicCentimetersUSBarrelsFactor;}
	
	public static double cubicCentimetersToImperialTeaspoons(double value){return value/CubicCentimetersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCubicCentimeters(double value){return value*CubicCentimetersImperialTeaspoonFactor;}
	
	public static double cubicCentimetersToImperialTablespoons(double value){return value/CubicCentimetersImperialTablespoonFactor;}
	public static double imperialTablespoonsToCubicCentimeters(double value){return value*CubicCentimetersImperialTablespoonFactor;}
	
	public static double cubicCentimetersToImperialFluidounces(double value){return value/CubicCentimetersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCubicCentimeters(double value){return value*CubicCentimetersImperialFluidouncesFactor;}
	
	public static double cubicCentimetersToImperialPints(double value){return value/CubicCentimetersImperialPintsFactor;}
	public static double imperialPintsToCubicCentimeters(double value){return value*CubicCentimetersImperialPintsFactor;}
	
	public static double cubicCentimetersToImperialQuarts(double value){return value/CubicCentimetersImperialQuartsFactor;}
	public static double imperialQuartsToCubicCentimeters(double value){return value*CubicCentimetersImperialQuartsFactor;}
	
	public static double cubicCentimetersToImperialGallons(double value){return value/CubicCentimetersImperialGallonsFactor;}
	public static double imperialGallonsToCubicCentimeters(double value){return value*CubicCentimetersImperialGallonsFactor;}
	
	public static double cubicCentimetersToImperialBarrels(double value){return value/CubicCentimetersImperialBarrelsFactor;}
	public static double imperialBarrelsToCubicCentimeters(double value){return value*CubicCentimetersImperialBarrelsFactor;}
	
	

	// cubic decimeters to cubic meters, cubic inches, cubic feet, cubic yards, milliliters, centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CubicDecimetersCubicMetersFactor				=	1000.0;				//1 cubic meter			=	1000 				cubic decimeters.
	public final static double CubicDecimetersCubicInchesFactor				=	0.016387064;		//1 cubic inch			=	0.016387064 		cubic decimeters.
	public final static double CubicDecimetersCubicFeetFactor				=	28.316846592;		//1 cubic foot			=	28.316846592 		cubic decimeters.
	public final static double CubicDecimetersCubicYardsFactor				=	764.554857984001;	//1 cubic yard			=	764.554857984001 	cubic decimeters.
	public final static double CubicDecimetersMillilitersFactor				=	0.001;				//1 milliliter			=	0.001 				cubic decimeters.
	public final static double CubicDecimetersCentilitersFactor				=	0.01;				//1 centiliter			=	0.01 				cubic decimeters.
	public final static double CubicDecimetersDecilitersFactor				=	0.1;				//1 deciliter			=	0.1 				cubic decimeters.
	public final static double CubicDecimetersLitersFactor					=	1.0;				//1 liter				=	1.0 				cubic decimeters.
	public final static double CubicDecimetersDekalitersFactor				=	10.0;				//1 dekaliter			=	10.0 				cubic decimeters.
	public final static double CubicDecimetersHectolitersFactor				=	100.0;				//1 hectoliter			=	100.0 				cubic decimeters.
	public final static double CubicDecimetersTeaspoonsFactor				=	0.005;				//1 teaspoon			=	0.005 				cubic decimeters.
	public final static double CubicDecimetersTableSpoonsFactor				=	0.015;				//1 tablespoon			=	0.015 				cubic decimeters.
	public final static double CubicDecimetersCupsFactor					=	0.25;				//1 cup					=	0.25 				cubic decimeters.
	public final static double CubicDecimetersUSTeaspoonsFactor				=	0.00492892159375;	//1 US teaspoon			=	0.00492892159375 	cubic decimeters.
	public final static double CubicDecimetersUSTablespoonsFactor			=	0.01478676478125;	//1 US tablespoon		=	0.01478676478125 	cubic decimeters.
	public final static double CubicDecimetersUSFluidouncesFactor			=	0.0295735295625;	//1 US fluid ounce		=	0.0295735295625 	cubic decimeters.
	public final static double CubicDecimetersUSCupsFactor					=	0.2365882365;		//1 US cup				=	0.2365882365 		cubic decimeters.
	public final static double CubicDecimetersUSPintsFactor					=	0.473176472999999;	//1 US pint				=	0.473176472999999	cubic decimeters.
	public final static double CubicDecimetersUSQuartsFactor				=	0.946352946;		//1 US quart			=	0.946352946		 	cubic decimeters.
	public final static double CubicDecimetersUSGallonsFactor				=	3.785411784;		//1 US gallon			=	3.785411784 		cubic decimeters.
	public final static double CubicDecimetersUSBarrelsFactor				=	119.240471196;		//1 US barrel			=	119.240471196 		cubic decimeters.
	public final static double CubicDecimetersImperialTeaspoonFactor		=	0.005919388020833;	//1 imperial teaspoon	=	0.005919388020833 	cubic decimeters.
	public final static double CubicDecimetersImperialTablespoonFactor		=	0.0177581640625;	//1 imperial tablespoon	=	0.0177581640625 	cubic decimeters.
	public final static double CubicDecimetersImperialFluidouncesFactor		=	0.0284130625;		//1 imperial fluid ounce=	0.0284130625 		cubic decimeters.
	public final static double CubicDecimetersImperialPintsFactor			=	0.56826125;			//1 imperial pint		=	0.568.26125 		cubic decimeters.
	public final static double CubicDecimetersImperialQuartsFactor			=	1.1365225;			//1 imperial quart		=	1.1365225 			cubic decimeters.
	public final static double CubicDecimetersImperialGallonsFactor			=	4.54609;			//1 imperial gallon		=	4.54609 			cubic decimeters.
	public final static double CubicDecimetersImperialBarrelsFactor			=	163.65924;			//1 imperial barrel		=	163.65924  			cubic decimeters.


	
	public static double cubicDecimetersToCubicMeters(double value){return value/CubicDecimetersCubicMetersFactor;}
	public static double cubicMetersToCubicDecimeters(double value){return value*CubicDecimetersCubicMetersFactor;}
	
	public static double cubicDecimetersToCubicInches(double value){return value/CubicDecimetersCubicInchesFactor;}
	public static double cubicInchesToCubicDecimeters(double value){return value*CubicDecimetersCubicInchesFactor;}
	
	public static double cubicDecimetersToCubicFeet(double value){return value/CubicDecimetersCubicFeetFactor;}
	public static double cubicFeetToCubicDecimeters(double value){return value*CubicDecimetersCubicFeetFactor;}
	
	public static double cubicDecimetersToCubicYards(double value){return value/CubicDecimetersCubicYardsFactor;}
	public static double cubicYardsToCubicDecimeters(double value){return value*CubicDecimetersCubicYardsFactor;}
	
	public static double cubicDecimetersToMilliliters(double value){return value/CubicDecimetersMillilitersFactor;}
	public static double millilitersToCubicDecimeters(double value){return value*CubicDecimetersMillilitersFactor;}
	
	public static double cubicDecimetersToCentiliters(double value){return value/CubicDecimetersCentilitersFactor;}
	public static double centilitersToCubicDecimeters(double value){return value*CubicDecimetersCentilitersFactor;}
	
	public static double cubicDecimetersToDeciliters(double value){return value/CubicDecimetersDecilitersFactor;}
	public static double decilitersToCubicDecimeters(double value){return value*CubicDecimetersDecilitersFactor;}
	
	public static double cubicDecimetersToLiters(double value){return value/CubicDecimetersLitersFactor;}
	public static double litersToCubicDecimeters(double value){return value*CubicDecimetersLitersFactor;}
	
	public static double cubicDecimetersToDekaLiters(double value){return value/CubicDecimetersDekalitersFactor;}
	public static double dekalitersToCubicDecimeters(double value){return value*CubicDecimetersDekalitersFactor;}
	
	public static double cubicDecimetersToHectoliters(double value){return value/CubicDecimetersHectolitersFactor;}
	public static double hectolitersToCubicDecimeters(double value){return value*CubicDecimetersHectolitersFactor;}
	
	public static double cubicDecimetersToTeaspoons(double value){return value/CubicDecimetersTeaspoonsFactor;}
	public static double teaspoonsToCubicDecimeters(double value){return value*CubicDecimetersTeaspoonsFactor;}
	
	public static double cubicDecimetersToTablespoons(double value){return value/CubicDecimetersTableSpoonsFactor;}
	public static double tablespoonsToCubicDecimeters(double value){return value*CubicDecimetersTableSpoonsFactor;}
	
	public static double cubicDecimetersToCups(double value){return value/CubicDecimetersCupsFactor;}
	public static double cupsToCubicDecimeters(double value){return value*CubicDecimetersCupsFactor;}
	
	public static double cubicDecimetersToUSTeaspoons(double value){return value/CubicDecimetersUSTeaspoonsFactor;}
	public static double usTeaspoonsToCubicDecimeters(double value){return value*CubicDecimetersUSTeaspoonsFactor;}
	
	public static double cubicDecimetersToUSTablespoons(double value){return value/CubicDecimetersUSTablespoonsFactor;}
	public static double usTablespoonsToCubicDecimeters(double value){return value*CubicDecimetersUSTablespoonsFactor;}
	
	public static double cubicDecimetersToUSFluidounces(double value){return value/CubicDecimetersUSFluidouncesFactor;}
	public static double usFluidouncesToCubicDecimeters(double value){return value*CubicDecimetersUSFluidouncesFactor;}
	
	public static double cubicDecimetersToUSCups(double value){return value/CubicDecimetersUSCupsFactor;}
	public static double usCupsToCubicDecimeters(double value){return value*CubicDecimetersUSCupsFactor;}
	
	public static double cubicDecimetersToUSPints(double value){return value/CubicDecimetersUSPintsFactor;}
	public static double usPintsToCubicDecimeters(double value){return value*CubicDecimetersUSPintsFactor;}
	
	public static double cubicDecimetersToUSQuarts(double value){return value/CubicDecimetersUSQuartsFactor;}
	public static double usQuartsToCubicDecimeters(double value){return value*CubicDecimetersUSQuartsFactor;}
	
	public static double cubicDecimetersToUSGallons(double value){return value/CubicDecimetersUSGallonsFactor;}
	public static double usGallonsToCubicDecimeters(double value){return value*CubicDecimetersUSGallonsFactor;}
	
	public static double cubicDecimetersToUSBarrels(double value){return value/CubicDecimetersUSBarrelsFactor;}
	public static double usBarrelsToCubicDecimeters(double value){return value*CubicDecimetersUSBarrelsFactor;}
	
	public static double cubicDecimetersToImperialTeaspoons(double value){return value/CubicDecimetersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCubicDecimeters(double value){return value*CubicDecimetersImperialTeaspoonFactor;}
	
	public static double cubicDecimetersToImperialTablespoons(double value){return value/CubicDecimetersImperialTablespoonFactor;}
	public static double imperialTablespoonsToCubicDecimeters(double value){return value*CubicDecimetersImperialTablespoonFactor;}
	
	public static double cubicDecimetersToImperialFluidounces(double value){return value/CubicDecimetersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCubicDecimeters(double value){return value*CubicDecimetersImperialFluidouncesFactor;}
	
	public static double cubicDecimetersToImperialPints(double value){return value/CubicDecimetersImperialPintsFactor;}
	public static double imperialPintsToCubicDecimeters(double value){return value*CubicDecimetersImperialPintsFactor;}
	
	public static double cubicDecimetersToImperialQuarts(double value){return value/CubicDecimetersImperialQuartsFactor;}
	public static double imperialQuartsToCubicDecimeters(double value){return value*CubicDecimetersImperialQuartsFactor;}
	
	public static double cubicDecimetersToImperialGallons(double value){return value/CubicDecimetersImperialGallonsFactor;}
	public static double imperialGallonsToCubicDecimeters(double value){return value*CubicDecimetersImperialGallonsFactor;}
	
	public static double cubicDecimetersToImperialBarrels(double value){return value/CubicDecimetersImperialBarrelsFactor;}
	public static double imperialBarrelsToCubicDecimeters(double value){return value*CubicDecimetersImperialBarrelsFactor;}

	
	
	//cubic meters to cubic inches, cubic feet, cubic yards, milliliters, centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CubicMetersCubicInchesFactor				=	0.000016387064;			//1 cubic inch			=	0.000016387064 		cubic meters.
	public final static double CubicMetersCubicFeetFactor				=	0.028316846592;			//1 cubic foot			=	0.028316846592 		cubic meters.
	public final static double CubicMetersCubicYardsFactor				=	0.764554857984001;		//1 cubic yard			=	0.764554857984001 	cubic meters.
	public final static double CubicMetersMillilitersFactor				=	0.000001;				//1 milliliter			=	0.000001 			cubic meters.
	public final static double CubicMetersCentilitersFactor				=	0.00001;				//1 centiliter			=	0.00001 			cubic meters.
	public final static double CubicMetersDecilitersFactor				=	0.0001;					//1 deciliter			=	0.0001 				cubic meters.
	public final static double CubicMetersLitersFactor					=	0.001;					//1 liter				=	0.001 				cubic meters.
	public final static double CubicMetersDekalitersFactor				=	0.01;					//1 dekaliter			=	0.01 				cubic meters.
	public final static double CubicMetersHectolitersFactor				=	0.1;					//1 hectoliter			=	0.1 				cubic meters.
	public final static double CubicMetersTeaspoonsFactor				=	0.000005;				//1 teaspoon			=	0.000005 			cubic meters.
	public final static double CubicMetersTableSpoonsFactor				=	0.000015;				//1 tablespoon			=	0.000015 			cubic meters.
	public final static double CubicMetersCupsFactor					=	0.00025;				//1 cup					=	0.00025 			cubic meters.
	public final static double CubicMetersUSTeaspoonsFactor				=	0.00000492892159375;	//1 US teaspoon			=	0.00000492892159375 cubic meters.
	public final static double CubicMetersUSTablespoonsFactor			=	0.00001478676478125;	//1 US tablespoon		=	0.00001478676478125 cubic meters.
	public final static double CubicMetersUSFluidouncesFactor			=	0.0000295735295625;		//1 US fluid ounce		=	0.0000295735295625 	cubic meters.
	public final static double CubicMetersUSCupsFactor					=	0.0002365882365;		//1 US cup				=	0.0002365882365 	cubic meters.
	public final static double CubicMetersUSPintsFactor					=	0.0004731764729999;		//1 US pint				=	0.0004731764729999	cubic meters.
	public final static double CubicMetersUSQuartsFactor				=	0.000946352946;			//1 US quart			=	0.000946352946 		cubic meters.
	public final static double CubicMetersUSGallonsFactor				=	0.003785411784;			//1 US gallon			=	0.003785411784 		cubic meters.
	public final static double CubicMetersUSBarrelsFactor				=	0.119240471196;			//1 US barrel			=	0.119240471196 		cubic meters.
	public final static double CubicMetersImperialTeaspoonFactor		=	0.0000059193880208;		//1 imperial teaspoon	=	0.0000059193880208	cubic meters.
	public final static double CubicMetersImperialTablespoonFactor		=	0.0000177581640625;		//1 imperial tablespoon	=	0.0000177581640625 	cubic meters.
	public final static double CubicMetersImperialFluidouncesFactor		=	0.0000284130625;		//1 imperial fluid ounce=	0.0000284130625 	cubic meters.
	public final static double CubicMetersImperialPintsFactor			=	0.00056826125;			//1 imperial pint		=	0.000568.26125 		cubic meters.
	public final static double CubicMetersImperialQuartsFactor			=	0.0011365225;			//1 imperial quart		=	0.0011365225 		cubic meters.
	public final static double CubicMetersImperialGallonsFactor			=	0.00454609;				//1 imperial gallon		=	0.00454609 			cubic meters.
	public final static double CubicMetersImperialBarrelsFactor			=	0.16365924;				//1 imperial barrel		=	0.16365924  		cubic meters.

	
	public static double cubicMetersToCubicInches(double value){return value/CubicMetersCubicInchesFactor;}
	public static double cubicInchesToCubicMeters(double value){return value*CubicMetersCubicInchesFactor;}
	
	public static double cubicMetersToCubicFeet(double value){return value/CubicMetersCubicFeetFactor;}
	public static double cubicFeetToCubicMeters(double value){return value*CubicMetersCubicFeetFactor;}
	
	public static double cubicMetersToCubicYards(double value){return value/CubicMetersCubicYardsFactor;}
	public static double cubicYardsToCubicMeters(double value){return value*CubicMetersCubicYardsFactor;}
	
	public static double cubicMetersToMilliliters(double value){return value/CubicMetersMillilitersFactor;}
	public static double millilitersToCubicMeters(double value){return value*CubicMetersMillilitersFactor;}
	
	public static double cubicMetersToCentiliters(double value){return value/CubicMetersCentilitersFactor;}
	public static double centilitersToCubicMeters(double value){return value*CubicMetersCentilitersFactor;}
	
	public static double cubicMetersToDeciliters(double value){return value/CubicMetersDecilitersFactor;}
	public static double decilitersToCubicMeters(double value){return value*CubicMetersDecilitersFactor;}
	
	public static double cubicMetersToLiters(double value){return value/CubicMetersLitersFactor;}
	public static double litersToCubicMeters(double value){return value*CubicMetersLitersFactor;}
	
	public static double cubicMetersToDekaLiters(double value){return value/CubicMetersDekalitersFactor;}
	public static double dekalitersToCubicMeters(double value){return value*CubicMetersDekalitersFactor;}
	
	public static double cubicMetersToHectoliters(double value){return value/CubicMetersHectolitersFactor;}
	public static double hectolitersToCubicMeters(double value){return value*CubicMetersHectolitersFactor;}
	
	public static double cubicMetersToTeaspoons(double value){return value/CubicMetersTeaspoonsFactor;}
	public static double teaspoonsToCubicMeters(double value){return value*CubicMetersTeaspoonsFactor;}
	
	public static double cubicMetersToTablespoons(double value){return value/CubicMetersTableSpoonsFactor;}
	public static double tablespoonsToCubicMeters(double value){return value*CubicMetersTableSpoonsFactor;}
	
	public static double cubicMetersToCups(double value){return value/CubicMetersCupsFactor;}
	public static double cupsToCubicMeters(double value){return value*CubicMetersCupsFactor;}
	
	public static double cubicMetersToUSTeaspoons(double value){return value/CubicMetersUSTeaspoonsFactor;}
	public static double usTeaspoonsToCubicMeters(double value){return value*CubicMetersUSTeaspoonsFactor;}
	
	public static double cubicMetersToUSTablespoons(double value){return value/CubicMetersUSTablespoonsFactor;}
	public static double usTablespoonsToCubicMeters(double value){return value*CubicMetersUSTablespoonsFactor;}
	
	public static double cubicMetersToUSFluidounces(double value){return value/CubicMetersUSFluidouncesFactor;}
	public static double usFluidouncesToCubicMeters(double value){return value*CubicMetersUSFluidouncesFactor;}
	
	public static double cubicMetersToUSCups(double value){return value/CubicMetersUSCupsFactor;}
	public static double usCupsToCubicMeters(double value){return value*CubicMetersUSCupsFactor;}
	
	public static double cubicMetersToUSPints(double value){return value/CubicMetersUSPintsFactor;}
	public static double usPintsToCubicMeters(double value){return value*CubicMetersUSPintsFactor;}
	
	public static double cubicMetersToUSQuarts(double value){return value/CubicMetersUSQuartsFactor;}
	public static double usQuartsToCubicMeters(double value){return value*CubicMetersUSQuartsFactor;}
	
	public static double cubicMetersToUSGallons(double value){return value/CubicMetersUSGallonsFactor;}
	public static double usGallonsToCubicMeters(double value){return value*CubicMetersUSGallonsFactor;}
	
	public static double cubicMetersToUSBarrels(double value){return value/CubicMetersUSBarrelsFactor;}
	public static double usBarrelsToCubicMeters(double value){return value*CubicMetersUSBarrelsFactor;}
	
	public static double cubicMetersToImperialTeaspoons(double value){return value/CubicMetersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCubicMeters(double value){return value*CubicMetersImperialTeaspoonFactor;}
	
	public static double cubicMetersToImperialTablespoons(double value){return value/CubicMetersImperialTablespoonFactor;}
	public static double imperialTablespoonsToCubicMeters(double value){return value*CubicMetersImperialTablespoonFactor;}
	
	public static double cubicMetersToImperialFluidounces(double value){return value/CubicMetersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCubicMeters(double value){return value*CubicMetersImperialFluidouncesFactor;}
	
	public static double cubicMetersToImperialPints(double value){return value/CubicMetersImperialPintsFactor;}
	public static double imperialPintsToCubicMeters(double value){return value*CubicMetersImperialPintsFactor;}
	
	public static double cubicMetersToImperialQuarts(double value){return value/CubicMetersImperialQuartsFactor;}
	public static double imperialQuartsToCubicMeters(double value){return value*CubicMetersImperialQuartsFactor;}
	
	public static double cubicMetersToImperialGallons(double value){return value/CubicMetersImperialGallonsFactor;}
	public static double imperialGallonsToCubicMeters(double value){return value*CubicMetersImperialGallonsFactor;}
	
	public static double cubicMetersToImperialBarrels(double value){return value/CubicMetersImperialBarrelsFactor;}
	public static double imperialBarrelsToCubicMeters(double value){return value*CubicMetersImperialBarrelsFactor;}

	
	
	//cubic inches to cubic feet, cubic yards, milliliters, centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CubicInchesCubicFeetFactor				=	1728;					//1 cubic foot			=	1728 			cubic inches.
	public final static double CubicInchesCubicYardsFactor				=	46656;					//1 cubic yard			=	46656 			cubic inches.
	public final static double CubicInchesMillilitersFactor				=	0.061023744;			//1 milliliter			=	0.061023744 	cubic inches.
	public final static double CubicInchesCentilitersFactor				=	0.610237441;			//1 centiliter			=	0.610237441 	cubic inches.
	public final static double CubicInchesDecilitersFactor				=	6.102374409;			//1 deciliter			=	6.102374409 	cubic inches.
	public final static double CubicInchesLitersFactor					=	61.023744095;			//1 liter				=	61.023744095 	cubic inches.
	public final static double CubicInchesDekalitersFactor				=	610.237440947;			//1 dekaliter			=	610.237440947 	cubic inches.
	public final static double CubicInchesHectolitersFactor				=	6102.374409473;			//1 hectoliter			=	6102.374409473 	cubic inches.
	public final static double CubicInchesTeaspoonsFactor				=	0.30511872;				//1 teaspoon			=	0.30511872 		cubic inches.
	public final static double CubicInchesTableSpoonsFactor				=	0.915356161;			//1 tablespoon			=	0.915356161 	cubic inches.
	public final static double CubicInchesCupsFactor					=	15.255936024;			//1 cup					=	15.255936024 	cubic inches.
	public final static double CubicInchesUSTeaspoonsFactor				=	0.30078125;				//1 US teaspoon			=	0.30078125 		cubic inches.
	public final static double CubicInchesUSTablespoonsFactor			=	0.90234375;				//1 US tablespoon		=	0.90234375 		cubic inches.
	public final static double CubicInchesUSFluidouncesFactor			=	1.8046875;				//1 US fluid ounce		=	1.8046875 		cubic inches.
	public final static double CubicInchesUSCupsFactor					=	14.4375;				//1 US cup				=	14.4375 		cubic inches.
	public final static double CubicInchesUSPintsFactor					=	28.875;					//1 US pint				=	28.875 			cubic inches.
	public final static double CubicInchesUSQuartsFactor				=	57.75;					//1 US quart			=	57.75 			cubic inches.
	public final static double CubicInchesUSGallonsFactor				=	231;					//1 US gallon			=	231 			cubic inches.
	public final static double CubicInchesUSBarrelsFactor				=	7276.5;					//1 US barrel			=	7276.5 			cubic inches.
	public final static double CubicInchesImperialTeaspoonFactor		=	0.36122322;				//1 imperial teaspoon	=	0.36122322 		cubic inches.
	public final static double CubicInchesImperialTablespoonFactor		=	1.083669659;			//1 imperial tablespoon	=	1.083669659 	cubic inches.
	public final static double CubicInchesImperialFluidouncesFactor		=	1.733871455;			//1 imperial fluid ounce=	1.733871455 	cubic inches.
	public final static double CubicInchesImperialPintsFactor			=	34.677429099;			//1 imperial pint		=	34.677429099 	cubic inches.
	public final static double CubicInchesImperialQuartsFactor			=	69.354858198;			//1 imperial quart		=	69.354858198 	cubic inches.
	public final static double CubicInchesImperialGallonsFactor			=	277.419432792;			//1 imperial gallon		=	277.419432792 	cubic inches.
	public final static double CubicInchesImperialBarrelsFactor			=	9987.099580498;			//1 imperial barrel		=	9987.099580498  cubic inches.

	

	public static double cubicInchesToCubicFeet(double value){return value/CubicInchesCubicFeetFactor;}
	public static double cubicFeetToCubicInches(double value){return value*CubicInchesCubicFeetFactor;}
	
	public static double cubicInchesToCubicYards(double value){return value/CubicInchesCubicYardsFactor;}
	public static double cubicYardsToCubicInches(double value){return value*CubicInchesCubicYardsFactor;}
	
	public static double cubicInchesToMilliliters(double value){return value/CubicInchesMillilitersFactor;}
	public static double millilitersToCubicInches(double value){return value*CubicInchesMillilitersFactor;}
	
	public static double cubicInchesToCentiliters(double value){return value/CubicInchesCentilitersFactor;}
	public static double centilitersToCubicInches(double value){return value*CubicInchesCentilitersFactor;}
	
	public static double cubicInchesToDeciliters(double value){return value/CubicInchesDecilitersFactor;}
	public static double decilitersToCubicInches(double value){return value*CubicInchesDecilitersFactor;}
	
	public static double cubicInchesToLiters(double value){return value/CubicInchesLitersFactor;}
	public static double litersToCubicInches(double value){return value*CubicInchesLitersFactor;}
	
	public static double cubicInchesToDekaLiters(double value){return value/CubicInchesDekalitersFactor;}
	public static double dekalitersToCubicInches(double value){return value*CubicInchesDekalitersFactor;}
	
	public static double cubicInchesToHectoliters(double value){return value/CubicInchesHectolitersFactor;}
	public static double hectolitersToCubicInches(double value){return value*CubicInchesHectolitersFactor;}
	
	public static double cubicInchesToTeaspoons(double value){return value/CubicInchesTeaspoonsFactor;}
	public static double teaspoonsToCubicInches(double value){return value*CubicInchesTeaspoonsFactor;}
	
	public static double cubicInchesToTablespoons(double value){return value/CubicInchesTableSpoonsFactor;}
	public static double tablespoonsToCubicInches(double value){return value*CubicInchesTableSpoonsFactor;}
	
	public static double cubicInchesToCups(double value){return value/CubicInchesCupsFactor;}
	public static double cupsToCubicInches(double value){return value*CubicInchesCupsFactor;}
	
	public static double cubicInchesToUSTeaspoons(double value){return value/CubicInchesUSTeaspoonsFactor;}
	public static double usTeaspoonsToCubicInches(double value){return value*CubicInchesUSTeaspoonsFactor;}
	
	public static double cubicInchesToUSTablespoons(double value){return value/CubicInchesUSTablespoonsFactor;}
	public static double usTablespoonsToCubicInches(double value){return value*CubicInchesUSTablespoonsFactor;}
	
	public static double cubicInchesToUSFluidounces(double value){return value/CubicInchesUSFluidouncesFactor;}
	public static double usFluidouncesToCubicInches(double value){return value*CubicInchesUSFluidouncesFactor;}
	
	public static double cubicInchesToUSCups(double value){return value/CubicInchesUSCupsFactor;}
	public static double usCupsToCubicInches(double value){return value*CubicInchesUSCupsFactor;}
	
	public static double cubicInchesToUSPints(double value){return value/CubicInchesUSPintsFactor;}
	public static double usPintsToCubicInches(double value){return value*CubicInchesUSPintsFactor;}
	
	public static double cubicInchesToUSQuarts(double value){return value/CubicInchesUSQuartsFactor;}
	public static double usQuartsToCubicInches(double value){return value*CubicInchesUSQuartsFactor;}
	
	public static double cubicInchesToUSGallons(double value){return value/CubicInchesUSGallonsFactor;}
	public static double usGallonsToCubicInches(double value){return value*CubicInchesUSGallonsFactor;}
	
	public static double cubicInchesToUSBarrels(double value){return value/CubicInchesUSBarrelsFactor;}
	public static double usBarrelsToCubicInches(double value){return value*CubicInchesUSBarrelsFactor;}
	
	public static double cubicInchesToImperialTeaspoons(double value){return value/CubicInchesImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCubicInches(double value){return value*CubicInchesImperialTeaspoonFactor;}
	
	public static double cubicInchesToImperialTablespoons(double value){return value/CubicInchesImperialTablespoonFactor;}
	public static double imperialTablespoonsToCubicInches(double value){return value*CubicInchesImperialTablespoonFactor;}
	
	public static double cubicInchesToImperialFluidounces(double value){return value/CubicInchesImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCubicInches(double value){return value*CubicInchesImperialFluidouncesFactor;}
	
	public static double cubicInchesToImperialPints(double value){return value/CubicInchesImperialPintsFactor;}
	public static double imperialPintsToCubicInches(double value){return value*CubicInchesImperialPintsFactor;}
	
	public static double cubicInchesToImperialQuarts(double value){return value/CubicInchesImperialQuartsFactor;}
	public static double imperialQuartsToCubicInches(double value){return value*CubicInchesImperialQuartsFactor;}
	
	public static double cubicInchesToImperialGallons(double value){return value/CubicInchesImperialGallonsFactor;}
	public static double imperialGallonsToCubicInches(double value){return value*CubicInchesImperialGallonsFactor;}
	
	public static double cubicInchesToImperialBarrels(double value){return value/CubicInchesImperialBarrelsFactor;}
	public static double imperialBarrelsToCubicInches(double value){return value*CubicInchesImperialBarrelsFactor;}

	
	
	//cubic feet to cubic yards, milliliters, centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CubicFeetCubicYardsFactor				=	27;						//1 cubic yard			=	27 			cubic feet.
	public final static double CubicFeetMillilitersFactor				=	0.000035315;			//1 milliliter			=	0.000035315 cubic feet.
	public final static double CubicFeetCentilitersFactor				=	0.00035315;				//1 centiliter			=	0.00035315 	cubic feet.
	public final static double CubicFeetDecilitersFactor				=	0.0035315;				//1 deciliter			=	0.0035315 	cubic feet.
	public final static double CubicFeetLitersFactor					=	0.035314667;			//1 liter				=	0.035314667 cubic feet.
	public final static double CubicFeetDekalitersFactor				=	0.35314667;				//1 dekaliter			=	0.35314667 	cubic feet.
	public final static double CubicFeetHectolitersFactor				=	3.5314667;				//1 hectoliter			=	3.5314667 	cubic feet.
	public final static double CubicFeetTeaspoonsFactor					=	0.000176573;			//1 teaspoon			=	0.000176573 cubic feet.
	public final static double CubicFeetTableSpoonsFactor				=	0.00052972;				//1 tablespoon			=	0.00052972 	cubic feet.
	public final static double CubicFeetCupsFactor						=	0.008828667;			//1 cup					=	0.008828667 cubic feet.
	public final static double CubicFeetUSTeaspoonsFactor				=	0.000174063;			//1 US teaspoon			=	0.000174063 cubic feet.
	public final static double CubicFeetUSTablespoonsFactor				=	0.00052219;				//1 US tablespoon		=	0.00052219 	cubic feet.
	public final static double CubicFeetUSFluidouncesFactor				=	0.001044379;			//1 US fluid ounce		=	0.001044379 cubic feet.
	public final static double CubicFeetUSCupsFactor					=	0.008355035;			//1 US cup				=	0.008355035 cubic feet.
	public final static double CubicFeetUSPintsFactor					=	0.016710069;			//1 US pint				=	0.016710069 cubic feet.
	public final static double CubicFeetUSQuartsFactor					=	0.033420139;			//1 US quart			=	0.040135913 cubic feet.
	public final static double CubicFeetUSGallonsFactor					=	0.133680556;			//1 US gallon			=	0.133680556 cubic feet.
	public final static double CubicFeetUSBarrelsFactor					=	4.2109375;				//1 US barrel			=	4.2109375 	cubic feet.
	public final static double CubicFeetImperialTeaspoonFactor			=	0.000209041;			//1 imperial teaspoon	=	0.000209041 cubic feet.
	public final static double CubicFeetImperialTablespoonFactor		=	0.000627124;			//1 imperial tablespoon	=	0.000627124 cubic feet.
	public final static double CubicFeetImperialFluidouncesFactor		=	0.001003398;			//1 imperial fluid ounce=	0.001003398 cubic feet.
	public final static double CubicFeetImperialPintsFactor				=	0.020067957;			//1 imperial pint		=	0.020067957 cubic feet.
	public final static double CubicFeetImperialQuartsFactor			=	0.040135913;			//1 imperial quart		=	0.040135913 cubic feet.
	public final static double CubicFeetImperialGallonsFactor			=	0.160543653;			//1 imperial gallon		=	0.160543653 cubic feet.
	public final static double CubicFeetImperialBarrelsFactor			=	5.779571516;			//1 imperial barrel		=	5.779571516 cubic feet.

	
	public static double cubicFeetToCubicYards(double value){return value/CubicFeetCubicYardsFactor;}
	public static double cubicYardsToCubicFeet(double value){return value*CubicFeetCubicYardsFactor;}
	
	public static double cubicFeetToMilliliters(double value){return value/CubicFeetMillilitersFactor;}
	public static double millilitersToCubicFeet(double value){return value*CubicFeetMillilitersFactor;}
	
	public static double cubicFeetToCentiliters(double value){return value/CubicFeetCentilitersFactor;}
	public static double centilitersToCubicFeet(double value){return value*CubicFeetCentilitersFactor;}
	
	public static double cubicFeetToDeciliters(double value){return value/CubicFeetDecilitersFactor;}
	public static double decilitersToCubicFeet(double value){return value*CubicFeetDecilitersFactor;}
	
	public static double cubicFeetToLiters(double value){return value/CubicFeetLitersFactor;}
	public static double litersToCubicFeet(double value){return value*CubicFeetLitersFactor;}
	
	public static double cubicFeetToDekaLiters(double value){return value/CubicFeetDekalitersFactor;}
	public static double dekalitersToCubicFeet(double value){return value*CubicFeetDekalitersFactor;}
	
	public static double cubicFeetToHectoliters(double value){return value/CubicFeetHectolitersFactor;}
	public static double hectolitersToCubicFeet(double value){return value*CubicFeetHectolitersFactor;}
	
	public static double cubicFeetToTeaspoons(double value){return value/CubicFeetTeaspoonsFactor;}
	public static double teaspoonsToCubicFeet(double value){return value*CubicFeetTeaspoonsFactor;}
	
	public static double cubicFeetToTablespoons(double value){return value/CubicFeetTableSpoonsFactor;}
	public static double tablespoonsToCubicFeet(double value){return value*CubicFeetTableSpoonsFactor;}
	
	public static double cubicFeetToCups(double value){return value/CubicFeetCupsFactor;}
	public static double cupsToCubicFeet(double value){return value*CubicFeetCupsFactor;}
	
	public static double cubicFeetToUSTeaspoons(double value){return value/CubicFeetUSTeaspoonsFactor;}
	public static double usTeaspoonsToCubicFeet(double value){return value*CubicFeetUSTeaspoonsFactor;}
	
	public static double cubicFeetToUSTablespoons(double value){return value/CubicFeetUSTablespoonsFactor;}
	public static double usTablespoonsToCubicFeet(double value){return value*CubicFeetUSTablespoonsFactor;}
	
	public static double cubicFeetToUSFluidounces(double value){return value/CubicFeetUSFluidouncesFactor;}
	public static double usFluidouncesToCubicFeet(double value){return value*CubicFeetUSFluidouncesFactor;}
	
	public static double cubicFeetToUSCups(double value){return value/CubicFeetUSCupsFactor;}
	public static double usCupsToCubicFeet(double value){return value*CubicFeetUSCupsFactor;}
	
	public static double cubicFeetToUSPints(double value){return value/CubicFeetUSPintsFactor;}
	public static double usPintsToCubicFeet(double value){return value*CubicFeetUSPintsFactor;}
	
	public static double cubicFeetToUSQuarts(double value){return value/CubicFeetUSQuartsFactor;}
	public static double usQuartsToCubicFeet(double value){return value*CubicFeetUSQuartsFactor;}
	
	public static double cubicFeetToUSGallons(double value){return value/CubicFeetUSGallonsFactor;}
	public static double usGallonsToCubicFeet(double value){return value*CubicFeetUSGallonsFactor;}
	
	public static double cubicFeetToUSBarrels(double value){return value/CubicFeetUSBarrelsFactor;}
	public static double usBarrelsToCubicFeet(double value){return value*CubicFeetUSBarrelsFactor;}
	
	public static double cubicFeetToImperialTeaspoons(double value){return value/CubicFeetImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCubicFeet(double value){return value*CubicFeetImperialTeaspoonFactor;}
	
	public static double cubicFeetToImperialTablespoons(double value){return value/CubicFeetImperialTablespoonFactor;}
	public static double imperialTablespoonsToCubicFeet(double value){return value*CubicFeetImperialTablespoonFactor;}
	
	public static double cubicFeetToImperialFluidounces(double value){return value/CubicFeetImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCubicFeet(double value){return value*CubicFeetImperialFluidouncesFactor;}
	
	public static double cubicFeetToImperialPints(double value){return value/CubicFeetImperialPintsFactor;}
	public static double imperialPintsToCubicFeet(double value){return value*CubicFeetImperialPintsFactor;}
	
	public static double cubicFeetToImperialQuarts(double value){return value/CubicFeetImperialQuartsFactor;}
	public static double imperialQuartsToCubicFeet(double value){return value*CubicFeetImperialQuartsFactor;}
	
	public static double cubicFeetToImperialGallons(double value){return value/CubicFeetImperialGallonsFactor;}
	public static double imperialGallonsToCubicFeet(double value){return value*CubicFeetImperialGallonsFactor;}
	
	public static double cubicFeetToImperialBarrels(double value){return value/CubicFeetImperialBarrelsFactor;}
	public static double imperialBarrelsToCubicFeet(double value){return value*CubicFeetImperialBarrelsFactor;}


	//cubic yards to milliliters, centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CubicYardsMillilitersFactor				=	764554.857984;			//1 cubic yard =	764554.857984 		milliliters.
	public final static double CubicYardsCentilitersFactor				=	76455.4857984001;		//1 cubic yard =	76455.4857984001 	centiliters.
	public final static double CubicYardsDecilitersFactor				=	7645.54857984;			//1 cubic yard =	7645.54857984 		deciliters.
	public final static double CubicYardsLitersFactor					=	764.554857984;			//1 cubic yard =	764.554857984 		liters.
	public final static double CubicYardsDekalitersFactor				=	76.4554857984;			//1 cubic yard =	76.4554857984 		dekaliters.
	public final static double CubicYardsHectolitersFactor				=	7.64554857984;			//1 cubic yard =	7.64554857984 		hectoliters.
	public final static double CubicYardsTeaspoonsFactor				=	152910.97151664642;		//1 cubic yard =	152910.97151664642 	teaspoons.
	public final static double CubicYardsTableSpoonsFactor				=	50970.32383913699;		//1 cubic yard =	50970.32383913699 	tablespoons.
	public final static double CubicYardsCupsFactor						=	3058.2194303329284;		//1 cubic yard =	3058.2194303329284 	cups.
	public final static double CubicYardsUSTeaspoonsFactor				=	155116.051948052;		//1 cubic yard =	155116.051948052	US teaspoons.
	public final static double CubicYardsUSTablespoonsFactor			=	51705.350649351;		//1 cubic yard =	51705.350649351		US tablespoons.
	public final static double CubicYardsUSFluidouncesFactor			=	25852.675324675;		//1 cubic yard = 	25852.675324675		US fluid ounces.
	public final static double CubicYardsUSCupsFactor					=	3231.584415584;			//1 cubic yard =	3231.584415584		US cups.
	public final static double CubicYardsUSPintsFactor					=	1615.792207792;			//1 cubic yard =	1615.792207792		US pints.
	public final static double CubicYardsUSQuartsFactor					=	807.896103896;			//1 cubic yard =	807.896103896		US quarts.
	public final static double CubicYardsUSGallonsFactor				=	201.974025974;			//1 cubic yard =	201.974025974		US gallons.
	public final static double CubicYardsUSBarrelsFactor				=	6.41187384 ;			//1 cubic yard =	6.41187384			US barrels.
	public final static double CubicYardsImperialTeaspoonFactor			=	129161.132078712;		//1 cubic yard =	129161.132078712	imperial teaspoons.
	public final static double CubicYardsImperialTablespoonFactor		=	43053.710692904;		//1 cubic yard =	43053.710692904		imperial tablespoons.
	public final static double CubicYardsImperialFluidouncesFactor		=	26908.569183065;		//1 cubic yard =	26908.569183065		imperial fluid ounces.
	public final static double CubicYardsImperialPintsFactor			=	1345.428459153;			//1 cubic yard =	1345.428459153		imperial pints.
	public final static double CubicYardsImperialQuartsFactor			=	672.714229577;			//1 cubic yard =	672.714229577		imperial quarts.
	public final static double CubicYardsImperialGallonsFactor			=	168.178557394;			//1 cubic yard =	168.178557394		imperial gallons.
	public final static double CubicYardsImperialBarrelsFactor			=	4.671626594;			//1 cubic yard =	4.671626594			imperial barrels.
	
	
	public static double cubicYardsToMilliliters(double value){return value*CubicYardsMillilitersFactor;}
	public static double millilitersToCubicYards(double value){return value/CubicYardsMillilitersFactor;}
	
	public static double cubicYardsToCentiliters(double value){return value*CubicYardsCentilitersFactor;}
	public static double centilitersToCubicYards(double value){return value/CubicYardsCentilitersFactor;}
	
	public static double cubicYardsToDeciliters(double value){return value*CubicYardsDecilitersFactor;}
	public static double decilitersToCubicYards(double value){return value/CubicYardsDecilitersFactor;}
	
	public static double cubicYardsToLiters(double value){return value*CubicYardsLitersFactor;}
	public static double litersToCubicYards(double value){return value/CubicYardsLitersFactor;}
	
	public static double cubicYardsToDekaLiters(double value){return value*CubicYardsDekalitersFactor;}
	public static double dekalitersToCubicYards(double value){return value/CubicYardsDekalitersFactor;}
	
	public static double cubicYardsToHectoliters(double value){return value*CubicYardsHectolitersFactor;}
	public static double hectolitersToCubicYards(double value){return value/CubicYardsHectolitersFactor;}
	
	public static double cubicYardsToTeaspoons(double value){return value*CubicYardsTeaspoonsFactor;}
	public static double teaspoonsToCubicYards(double value){return value/CubicYardsTeaspoonsFactor;}
	
	public static double cubicYardsToTablespoons(double value){return value*CubicYardsTableSpoonsFactor;}
	public static double tablespoonsToCubicYards(double value){return value/CubicYardsTableSpoonsFactor;}
	
	public static double cubicYardsToCups(double value){return value*CubicYardsCupsFactor;}
	public static double cupsToCubicYards(double value){return value/CubicYardsCupsFactor;}
	
	public static double cubicYardsToUSTeaspoons(double value){return value*CubicYardsUSTeaspoonsFactor;}
	public static double usTeaspoonsToCubicYards(double value){return value/CubicYardsUSTeaspoonsFactor;}
	
	public static double cubicYardsToUSTablespoons(double value){return value*CubicYardsUSTablespoonsFactor;}
	public static double usTablespoonsToCubicYards(double value){return value/CubicYardsUSTablespoonsFactor;}
	
	public static double cubicYardsToUSFluidounces(double value){return value*CubicYardsUSFluidouncesFactor;}
	public static double usFluidouncesToCubicYards(double value){return value/CubicYardsUSFluidouncesFactor;}
	
	public static double cubicYardsToUSCups(double value){return value*CubicYardsUSCupsFactor;}
	public static double usCupsToCubicYards(double value){return value/CubicYardsUSCupsFactor;}
	
	public static double cubicYardsToUSPints(double value){return value*CubicYardsUSPintsFactor;}
	public static double usPintsToCubicYards(double value){return value/CubicYardsUSPintsFactor;}
	
	public static double cubicYardsToUSQuarts(double value){return value*CubicYardsUSQuartsFactor;}
	public static double usQuartsToCubicYards(double value){return value/CubicYardsUSQuartsFactor;}
	
	public static double cubicYardsToUSGallons(double value){return value*CubicYardsUSGallonsFactor;}
	public static double usGallonsToCubicYards(double value){return value/CubicYardsUSGallonsFactor;}
	
	public static double cubicYardsToUSBarrels(double value){return value*CubicYardsUSBarrelsFactor;}
	public static double usBarrelsToCubicYards(double value){return value/CubicYardsUSBarrelsFactor;}
	
	public static double cubicYardsToImperialTeaspoons(double value){return value*CubicYardsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCubicYards(double value){return value/CubicYardsImperialTeaspoonFactor;}
	
	public static double cubicYardsToImperialTablespoons(double value){return value*CubicYardsImperialTablespoonFactor;}
	public static double imperialTablespoonsToCubicYards(double value){return value/CubicYardsImperialTablespoonFactor;}
	
	public static double cubicYardsToImperialFluidounces(double value){return value*CubicYardsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCubicYards(double value){return value/CubicYardsImperialFluidouncesFactor;}
	
	public static double cubicYardsToImperialPints(double value){return value*CubicYardsImperialPintsFactor;}
	public static double imperialPintsToCubicYards(double value){return value/CubicYardsImperialPintsFactor;}
	
	public static double cubicYardsToImperialQuarts(double value){return value*CubicYardsImperialQuartsFactor;}
	public static double imperialQuartsToCubicYards(double value){return value/CubicYardsImperialQuartsFactor;}
	
	public static double cubicYardsToImperialGallons(double value){return value*CubicYardsImperialGallonsFactor;}
	public static double imperialGallonsToCubicYards(double value){return value/CubicYardsImperialGallonsFactor;}
	
	public static double cubicYardsToImperialBarrels(double value){return value*CubicYardsImperialBarrelsFactor;}
	public static double imperialBarrelsToCubicYards(double value){return value/CubicYardsImperialBarrelsFactor;}

	

	//milliliters to centiliters, deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double MillilitersCentilitersFactor				=	10.0;					//1 centiliter			=	10.0 			milliliters.
	public final static double MillilitersDecilitersFactor				=	100.0;					//1 deciliter			=	100.0			milliliters.
	public final static double MillilitersLitersFactor					=	1000.0;					//1 liter				=	1000.0 			milliliters.
	public final static double MillilitersDekalitersFactor				=	10000.0;				//1 dekaliter			=	10000.0 		milliliters.
	public final static double MillilitersHectolitersFactor				=	100000.0;				//1 hectoliter			=	100000.0 		milliliters.
	public final static double MillilitersTeaspoonsFactor				=	5.0;					//1 teaspoon			=	5.0 			milliliters.
	public final static double MillilitersTableSpoonsFactor				=	15.0;					//1 tablespoon			=	15.0 			milliliters.
	public final static double MillilitersCupsFactor					=	250.0;					//1 cup					=	250.0 			milliliters.
	public final static double MillilitersUSTeaspoonsFactor				=	4.928921594;			//1 US teaspoon			=	4.928921594 	milliliters.
	public final static double MillilitersUSTablespoonsFactor			=	14.786764781;			//1 US tablespoon		=	14.786764781 	milliliters.
	public final static double MillilitersUSFluidouncesFactor			=	29.573529563;			//1 US fluid ounce		=	29.573529563 	milliliters.
	public final static double MillilitersUSCupsFactor					=	236.5882365;			//1 US cup				=	236.5882365 	milliliters.
	public final static double MillilitersUSPintsFactor					=	473.176473;				//1 US pint				=	473.176473 		milliliters.
	public final static double MillilitersUSQuartsFactor				=	946.352946;				//1 US quart			=	946.352946 		milliliters.
	public final static double MillilitersUSGallonsFactor				=	3785.411784;			//1 US gallon			=	3785.411784 	milliliters.
	public final static double MillilitersUSBarrelsFactor				=	119240.471196;			//1 US barrel			=	119240.471196 	milliliters.
	public final static double MillilitersImperialTeaspoonFactor		=	5.919388021;			//1 imperial teaspoon	=	5.919388021 	milliliters.
	public final static double MillilitersImperialTablespoonFactor		=	17.758164062;			//1 imperial tablespoon	=	17.758164062 	milliliters.
	public final static double MillilitersImperialFluidouncesFactor		=	28.4130625;				//1 imperial fluid ounce=	28.4130625 		milliliters.
	public final static double MillilitersImperialPintsFactor			=	568.26125;				//1 imperial pint		=	568.26125 		milliliters.
	public final static double MillilitersImperialQuartsFactor			=	1136.5225;				//1 imperial quart		=	1136.5225 		milliliters.
	public final static double MillilitersImperialGallonsFactor			=	4546.09;				//1 imperial gallon		=	4546.09 		milliliters.
	public final static double MillilitersImperialBarrelsFactor			=	163659.24;				//1 imperial barrel		=	163659.24 		milliliters.
	
	public static double millilitersToCentiliters(double value){return value/MillilitersCentilitersFactor;}
	public static double centilitersToMilliliters(double value){return value*MillilitersCentilitersFactor;}
	
	public static double millilitersToDeciliters(double value){return value/MillilitersDecilitersFactor;}
	public static double decilitersToMilliliters(double value){return value*MillilitersDecilitersFactor;}
	
	public static double millilitersToLiters(double value){return value/MillilitersLitersFactor;}
	public static double litersToMilliliters(double value){return value*MillilitersLitersFactor;}
	
	public static double millilitersToDekaLiters(double value){return value/MillilitersDekalitersFactor;}
	public static double dekalitersToMilliliters(double value){return value*MillilitersDekalitersFactor;}
	
	public static double millilitersToHectoliters(double value){return value/MillilitersHectolitersFactor;}
	public static double hectolitersToMilliliters(double value){return value*MillilitersHectolitersFactor;}
	
	public static double millilitersToTeaspoons(double value){return value/MillilitersTeaspoonsFactor;}
	public static double teaspoonsToMilliliters(double value){return value*MillilitersTeaspoonsFactor;}
	
	public static double millilitersToTablespoons(double value){return value/MillilitersTableSpoonsFactor;}
	public static double tablespoonsToMilliliters(double value){return value*MillilitersTableSpoonsFactor;}
	
	public static double millilitersToCups(double value){return value/MillilitersCupsFactor;}
	public static double cupsToMilliliters(double value){return value*MillilitersCupsFactor;}
	
	public static double millilitersToUSTeaspoons(double value){return value/MillilitersUSTeaspoonsFactor;}
	public static double usTeaspoonsToMilliliters(double value){return value*MillilitersUSTeaspoonsFactor;}
	
	public static double millilitersToUSTablespoons(double value){return value/MillilitersUSTablespoonsFactor;}
	public static double usTablespoonsToMilliliters(double value){return value*MillilitersUSTablespoonsFactor;}
	
	public static double millilitersToUSFluidounces(double value){return value/MillilitersUSFluidouncesFactor;}
	public static double usFluidouncesToMilliliters(double value){return value*MillilitersUSFluidouncesFactor;}
	
	public static double millilitersToUSCups(double value){return value/MillilitersUSCupsFactor;}
	public static double usCupsToMilliliters(double value){return value*MillilitersUSCupsFactor;}
	
	public static double millilitersToUSPints(double value){return value/MillilitersUSPintsFactor;}
	public static double usPintsToMilliliters(double value){return value*MillilitersUSPintsFactor;}
	
	public static double millilitersToUSQuarts(double value){return value/MillilitersUSQuartsFactor;}
	public static double usQuartsToMilliliters(double value){return value*MillilitersUSQuartsFactor;}
	
	public static double millilitersToUSGallons(double value){return value/MillilitersUSGallonsFactor;}
	public static double usGallonsToMilliliters(double value){return value*MillilitersUSGallonsFactor;}
	
	public static double millilitersToUSBarrels(double value){return value/MillilitersUSBarrelsFactor;}
	public static double usBarrelsToMilliliters(double value){return value*MillilitersUSBarrelsFactor;}
	
	public static double millilitersToImperialTeaspoons(double value){return value/MillilitersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToMilliliters(double value){return value*MillilitersImperialTeaspoonFactor;}
	
	public static double millilitersToImperialTablespoons(double value){return value/MillilitersImperialTablespoonFactor;}
	public static double imperialTablespoonsToMilliliters(double value){return value*MillilitersImperialTablespoonFactor;}
	
	public static double millilitersToImperialFluidounces(double value){return value/MillilitersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToMilliliters(double value){return value*MillilitersImperialFluidouncesFactor;}
	
	public static double millilitersToImperialPints(double value){return value/MillilitersImperialPintsFactor;}
	public static double imperialPintsToMilliliters(double value){return value*MillilitersImperialPintsFactor;}
	
	public static double millilitersToImperialQuarts(double value){return value/MillilitersImperialQuartsFactor;}
	public static double imperialQuartsToMilliliters(double value){return value*MillilitersImperialQuartsFactor;}
	
	public static double millilitersToImperialGallons(double value){return value/MillilitersImperialGallonsFactor;}
	public static double imperialGallonsToMilliliters(double value){return value*MillilitersImperialGallonsFactor;}
	
	public static double millilitersToImperialBarrels(double value){return value/MillilitersImperialBarrelsFactor;}
	public static double imperialBarrelsToMilliliters(double value){return value*MillilitersImperialBarrelsFactor;}

	

	//centiliters to deciliters, liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CentilitersDecilitersFactor				=	10.0;					//1 deciliter			=	10.0			centiliters.
	public final static double CentilitersLitersFactor					=	100.0;					//1 liter				=	100.0 			centiliters.
	public final static double CentilitersDekalitersFactor				=	1000.0;					//1 dekaliter			=	1000.0 			centiliters.
	public final static double CentilitersHectolitersFactor				=	10000.0;				//1 hectoliter			=	10000.0 		centiliters.
	public final static double CentilitersTeaspoonsFactor				=	0.5;					//1 teaspoon			=	0.5 			centiliters.
	public final static double CentilitersTableSpoonsFactor				=	1.50;					//1 tablespoon			=	1.5 			centiliters.
	public final static double CentilitersCupsFactor					=	25.0;					//1 cup					=	25.0 			centiliters.
	public final static double CentilitersUSTeaspoonsFactor				=	0.4928921594;			//1 US teaspoon			=	0.4928921594 	centiliters.
	public final static double CentilitersUSTablespoonsFactor			=	1.4786764781;			//1 US tablespoon		=	1.4786764781 	centiliters.
	public final static double CentilitersUSFluidouncesFactor			=	2.9573529563;			//1 US fluid ounce		=	2.9573529563 	centiliters.
	public final static double CentilitersUSCupsFactor					=	23.65882365;			//1 US cup				=	23.65882365 	centiliters.
	public final static double CentilitersUSPintsFactor					=	47.3176473;				//1 US pint				=	47.3176473 		centiliters.
	public final static double CentilitersUSQuartsFactor				=	94.6352946;				//1 US quart			=	94.6352946 		centiliters.
	public final static double CentilitersUSGallonsFactor				=	378.5411784;			//1 US gallon			=	378.5411784 	centiliters.
	public final static double CentilitersUSBarrelsFactor				=	11924.0471196;			//1 US barrel			=	11924.0471196 	centiliters.
	public final static double CentilitersImperialTeaspoonFactor		=	0.5919388021;			//1 imperial teaspoon	=	0.5919388021 	centiliters.
	public final static double CentilitersImperialTablespoonFactor		=	1.7758164062;			//1 imperial tablespoon	=	1.7758164062 	centiliters.
	public final static double CentilitersImperialFluidouncesFactor		=	2.84130625;				//1 imperial fluid ounce=	2.84130625 		centiliters.
	public final static double CentilitersImperialPintsFactor			=	56.826125;				//1 imperial pint		=	56.826125 		centiliters.
	public final static double CentilitersImperialQuartsFactor			=	113.65225;				//1 imperial quart		=	113.65225 		centiliters.
	public final static double CentilitersImperialGallonsFactor			=	454.609;				//1 imperial gallon		=	454.609 		centiliters.
	public final static double CentilitersImperialBarrelsFactor			=	16365.924;				//1 imperial barrel		=	16365.924 		centiliters.
	
	
	public static double centilitersToDeciliters(double value){return value/CentilitersDecilitersFactor;}
	public static double decilitersToCentiliters(double value){return value*CentilitersDecilitersFactor;}
	
	public static double centilitersToLiters(double value){return value/CentilitersLitersFactor;}
	public static double litersToCentiliters(double value){return value*CentilitersLitersFactor;}
	
	public static double centilitersToDekaLiters(double value){return value/CentilitersDekalitersFactor;}
	public static double dekalitersToCentiliters(double value){return value*CentilitersDekalitersFactor;}
	
	public static double centilitersToHectoliters(double value){return value/CentilitersHectolitersFactor;}
	public static double hectolitersToCentiliters(double value){return value*CentilitersHectolitersFactor;}
	
	public static double centilitersToTeaspoons(double value){return value/CentilitersTeaspoonsFactor;}
	public static double teaspoonsToCentiliters(double value){return value*CentilitersTeaspoonsFactor;}
	
	public static double centilitersToTablespoons(double value){return value/CentilitersTableSpoonsFactor;}
	public static double tablespoonsToCentiliters(double value){return value*CentilitersTableSpoonsFactor;}
	
	public static double centilitersToCups(double value){return value/CentilitersCupsFactor;}
	public static double cupsToCentiliters(double value){return value*CentilitersCupsFactor;}
	
	public static double centilitersToUSTeaspoons(double value){return value/CentilitersUSTeaspoonsFactor;}
	public static double usTeaspoonsToCentiliters(double value){return value*CentilitersUSTeaspoonsFactor;}
	
	public static double centilitersToUSTablespoons(double value){return value/CentilitersUSTablespoonsFactor;}
	public static double usTablespoonsToCentiliters(double value){return value*CentilitersUSTablespoonsFactor;}
	
	public static double centilitersToUSFluidounces(double value){return value/CentilitersUSFluidouncesFactor;}
	public static double usFluidouncesToCentiliters(double value){return value*CentilitersUSFluidouncesFactor;}
	
	public static double centilitersToUSCups(double value){return value/CentilitersUSCupsFactor;}
	public static double usCupsToCentiliters(double value){return value*CentilitersUSCupsFactor;}
	
	public static double centilitersToUSPints(double value){return value/CentilitersUSPintsFactor;}
	public static double usPintsToCentiliters(double value){return value*CentilitersUSPintsFactor;}
	
	public static double centilitersToUSQuarts(double value){return value/CentilitersUSQuartsFactor;}
	public static double usQuartsToCentiliters(double value){return value*CentilitersUSQuartsFactor;}
	
	public static double centilitersToUSGallons(double value){return value/CentilitersUSGallonsFactor;}
	public static double usGallonsToCentiliters(double value){return value*CentilitersUSGallonsFactor;}
	
	public static double centilitersToUSBarrels(double value){return value/CentilitersUSBarrelsFactor;}
	public static double usBarrelsToCentiliters(double value){return value*CentilitersUSBarrelsFactor;}
	
	public static double centilitersToImperialTeaspoons(double value){return value/CentilitersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCentiliters(double value){return value*CentilitersImperialTeaspoonFactor;}
	
	public static double centilitersToImperialTablespoons(double value){return value/CentilitersImperialTablespoonFactor;}
	public static double imperialTablespoonsToCentiliters(double value){return value*CentilitersImperialTablespoonFactor;}
	
	public static double centilitersToImperialFluidounces(double value){return value/CentilitersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCentiliters(double value){return value*CentilitersImperialFluidouncesFactor;}
	
	public static double centilitersToImperialPints(double value){return value/CentilitersImperialPintsFactor;}
	public static double imperialPintsToCentiliters(double value){return value*CentilitersImperialPintsFactor;}
	
	public static double centilitersToImperialQuarts(double value){return value/CentilitersImperialQuartsFactor;}
	public static double imperialQuartsToCentiliters(double value){return value*CentilitersImperialQuartsFactor;}
	
	public static double centilitersToImperialGallons(double value){return value/CentilitersImperialGallonsFactor;}
	public static double imperialGallonsToCentiliters(double value){return value*CentilitersImperialGallonsFactor;}
	
	public static double centilitersToImperialBarrels(double value){return value/CentilitersImperialBarrelsFactor;}
	public static double imperialBarrelsToCentiliters(double value){return value*CentilitersImperialBarrelsFactor;}


	//deciliters to liters, dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double DecilitersLitersFactor					=	10.0;					//1 liter				=	10.0 			deciliters.
	public final static double DecilitersDekalitersFactor				=	100.0;					//1 dekaliter			=	100.0 			deciliters.
	public final static double DecilitersHectolitersFactor				=	1000.0;					//1 hectoliter			=	1000.0 			deciliters.
	public final static double DecilitersTeaspoonsFactor				=	0.05;					//1 teaspoon			=	0.05 			deciliters.
	public final static double DecilitersTableSpoonsFactor				=	0.15;					//1 tablespoon			=	0.15 			deciliters.
	public final static double DecilitersCupsFactor						=	2.5;					//1 cup					=	2.5 			deciliters.
	public final static double DecilitersUSTeaspoonsFactor				=	0.04928921594;			//1 US teaspoon			=	0.04928921594 	deciliters.
	public final static double DecilitersUSTablespoonsFactor			=	0.14786764781;			//1 US tablespoon		=	0.14786764781 	deciliters.
	public final static double DecilitersUSFluidouncesFactor			=	0.29573529563;			//1 US fluid ounce		=	0.29573529563 	deciliters.
	public final static double DecilitersUSCupsFactor					=	2.365882365;			//1 US cup				=	2.365882365 	deciliters.
	public final static double DecilitersUSPintsFactor					=	4.73176473;				//1 US pint				=	4.73176473 		deciliters.
	public final static double DecilitersUSQuartsFactor					=	9.46352946;				//1 US quart			=	9.46352946 		deciliters.
	public final static double DecilitersUSGallonsFactor				=	37.85411784;			//1 US gallon			=	37.85411784 	deciliters.
	public final static double DecilitersUSBarrelsFactor				=	1192.40471196;			//1 US barrel			=	1192.40471196 	deciliters.
	public final static double DecilitersImperialTeaspoonFactor			=	0.05919388021;			//1 imperial teaspoon	=	0.05919388021 	deciliters.
	public final static double DecilitersImperialTablespoonFactor		=	0.17758164062;			//1 imperial tablespoon	=	0.17758164062 	deciliters.
	public final static double DecilitersImperialFluidouncesFactor		=	0.284130625;			//1 imperial fluid ounce=	0.284130625 	deciliters.
	public final static double DecilitersImperialPintsFactor			=	5.6826125;				//1 imperial pint		=	5.6826125 		deciliters.
	public final static double DecilitersImperialQuartsFactor			=	11.365225;				//1 imperial quart		=	11.365225 		deciliters.
	public final static double DecilitersImperialGallonsFactor			=	45.4609;				//1 imperial gallon		=	45.4609 		deciliters.
	public final static double DecilitersImperialBarrelsFactor			=	1636.5924;				//1 imperial barrel		=	1636.5924 		deciliters.
	
	
	public static double decilitersToLiters(double value){return value/DecilitersLitersFactor;}
	public static double litersToDeciliters(double value){return value*DecilitersLitersFactor;}
	
	public static double decilitersToDekaLiters(double value){return value/DecilitersDekalitersFactor;}
	public static double dekalitersToDeciliters(double value){return value*DecilitersDekalitersFactor;}
	
	public static double decilitersToHectoliters(double value){return value/DecilitersHectolitersFactor;}
	public static double hectolitersToDeciliters(double value){return value*DecilitersHectolitersFactor;}
	
	public static double decilitersToTeaspoons(double value){return value/DecilitersTeaspoonsFactor;}
	public static double teaspoonsToDeciliters(double value){return value*DecilitersTeaspoonsFactor;}
	
	public static double decilitersToTablespoons(double value){return value/DecilitersTableSpoonsFactor;}
	public static double tablespoonsToDeciliters(double value){return value*DecilitersTableSpoonsFactor;}
	
	public static double decilitersToCups(double value){return value/DecilitersCupsFactor;}
	public static double cupsToDeciliters(double value){return value*DecilitersCupsFactor;}
	
	public static double decilitersToUSTeaspoons(double value){return value/DecilitersUSTeaspoonsFactor;}
	public static double usTeaspoonsToDeciliters(double value){return value*DecilitersUSTeaspoonsFactor;}
	
	public static double decilitersToUSTablespoons(double value){return value/DecilitersUSTablespoonsFactor;}
	public static double usTablespoonsToDeciliters(double value){return value*DecilitersUSTablespoonsFactor;}
	
	public static double decilitersToUSFluidounces(double value){return value/DecilitersUSFluidouncesFactor;}
	public static double usFluidouncesToDeciliters(double value){return value*DecilitersUSFluidouncesFactor;}
	
	public static double decilitersToUSCups(double value){return value/DecilitersUSCupsFactor;}
	public static double usCupsToDeciliters(double value){return value*DecilitersUSCupsFactor;}
	
	public static double decilitersToUSPints(double value){return value/DecilitersUSPintsFactor;}
	public static double usPintsToDeciliters(double value){return value*DecilitersUSPintsFactor;}
	
	public static double decilitersToUSQuarts(double value){return value/DecilitersUSQuartsFactor;}
	public static double usQuartsToDeciliters(double value){return value*DecilitersUSQuartsFactor;}
	
	public static double decilitersToUSGallons(double value){return value/DecilitersUSGallonsFactor;}
	public static double usGallonsToDeciliters(double value){return value*DecilitersUSGallonsFactor;}
	
	public static double decilitersToUSBarrels(double value){return value/DecilitersUSBarrelsFactor;}
	public static double usBarrelsToDeciliters(double value){return value*DecilitersUSBarrelsFactor;}
	
	public static double decilitersToImperialTeaspoons(double value){return value/DecilitersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToDeciliters(double value){return value*DecilitersImperialTeaspoonFactor;}
	
	public static double decilitersToImperialTablespoons(double value){return value/DecilitersImperialTablespoonFactor;}
	public static double imperialTablespoonsToDeciliters(double value){return value*DecilitersImperialTablespoonFactor;}
	
	public static double decilitersToImperialFluidounces(double value){return value/DecilitersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToDeciliters(double value){return value*DecilitersImperialFluidouncesFactor;}
	
	public static double decilitersToImperialPints(double value){return value/DecilitersImperialPintsFactor;}
	public static double imperialPintsToDeciliters(double value){return value*DecilitersImperialPintsFactor;}
	
	public static double decilitersToImperialQuarts(double value){return value/DecilitersImperialQuartsFactor;}
	public static double imperialQuartsToDeciliters(double value){return value*DecilitersImperialQuartsFactor;}
	
	public static double decilitersToImperialGallons(double value){return value/DecilitersImperialGallonsFactor;}
	public static double imperialGallonsToDeciliters(double value){return value*DecilitersImperialGallonsFactor;}
	
	public static double decilitersToImperialBarrels(double value){return value/DecilitersImperialBarrelsFactor;}
	public static double imperialBarrelsToDeciliters(double value){return value*DecilitersImperialBarrelsFactor;}

	

	//liters to dekaliters, hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double LitersDekalitersFactor				=	10.0;					//1 dekaliter			=	10.0 			liters.
	public final static double LitersHectolitersFactor				=	100.0;					//1 hectoliter			=	100.0 			liters.
	public final static double LitersTeaspoonsFactor				=	0.005;					//1 teaspoon			=	0.005 			liters.
	public final static double LitersTableSpoonsFactor				=	0.015;					//1 tablespoon			=	0.015 			liters.
	public final static double LitersCupsFactor						=	0.25;					//1 cup					=	0.25 			liters.
	public final static double LitersUSTeaspoonsFactor				=	0.004928921594;			//1 US teaspoon			=	0.004928921594 	liters.
	public final static double LitersUSTablespoonsFactor			=	0.014786764781;			//1 US tablespoon		=	0.014786764781 	liters.
	public final static double LitersUSFluidouncesFactor			=	0.029573529563;			//1 US fluid ounce		=	0.029573529563 	liters.
	public final static double LitersUSCupsFactor					=	0.2365882365;			//1 US cup				=	0.2365882365 	liters.
	public final static double LitersUSPintsFactor					=	0.473176473;			//1 US pint				=	0.473176473 	liters.
	public final static double LitersUSQuartsFactor					=	0.946352946;			//1 US quart			=	0.946352946 	liters.
	public final static double LitersUSGallonsFactor				=	3.785411784;			//1 US gallon			=	3.785411784 	liters.
	public final static double LitersUSBarrelsFactor				=	119.240471196;			//1 US barrel			=	119.240471196 	liters.
	public final static double LitersImperialTeaspoonFactor			=	0.005919388021;			//1 imperial teaspoon	=	0.005919388021 	liters.
	public final static double LitersImperialTablespoonFactor		=	0.017758164062;			//1 imperial tablespoon	=	0.017758164062 	liters.
	public final static double LitersImperialFluidouncesFactor		=	0.0284130625;			//1 imperial fluid ounce=	0.0284130625 	liters.
	public final static double LitersImperialPintsFactor			=	0.56826125;				//1 imperial pint		=	0.56826125 		liters.
	public final static double LitersImperialQuartsFactor			=	1.1365225;				//1 imperial quart		=	1.1365225 		liters.
	public final static double LitersImperialGallonsFactor			=	4.54609;				//1 imperial gallon		=	4.54609 		liters.
	public final static double LitersImperialBarrelsFactor			=	163.65924;				//1 imperial barrel		=	163.65924 		liters.
	

	public static double litersToDekaLiters(double value){return value/LitersDekalitersFactor;}
	public static double dekalitersToLiters(double value){return value*LitersDekalitersFactor;}
	
	public static double litersToHectoliters(double value){return value/LitersHectolitersFactor;}
	public static double hectolitersToLiters(double value){return value*LitersHectolitersFactor;}
	
	public static double litersToTeaspoons(double value){return value/LitersTeaspoonsFactor;}
	public static double teaspoonsToLiters(double value){return value*LitersTeaspoonsFactor;}
	
	public static double litersToTablespoons(double value){return value/LitersTableSpoonsFactor;}
	public static double tablespoonsToLiters(double value){return value*LitersTableSpoonsFactor;}
	
	public static double litersToCups(double value){return value/LitersCupsFactor;}
	public static double cupsToLiters(double value){return value*LitersCupsFactor;}
	
	public static double litersToUSTeaspoons(double value){return value/LitersUSTeaspoonsFactor;}
	public static double usTeaspoonsToLiters(double value){return value*LitersUSTeaspoonsFactor;}
	
	public static double litersToUSTablespoons(double value){return value/LitersUSTablespoonsFactor;}
	public static double usTablespoonsToLiters(double value){return value*LitersUSTablespoonsFactor;}
	
	public static double litersToUSFluidounces(double value){return value/LitersUSFluidouncesFactor;}
	public static double usFluidouncesToLiters(double value){return value*LitersUSFluidouncesFactor;}
	
	public static double litersToUSCups(double value){return value/LitersUSCupsFactor;}
	public static double usCupsToLiters(double value){return value*LitersUSCupsFactor;}
	
	public static double litersToUSPints(double value){return value/LitersUSPintsFactor;}
	public static double usPintsToLiters(double value){return value*LitersUSPintsFactor;}
	
	public static double litersToUSQuarts(double value){return value/LitersUSQuartsFactor;}
	public static double usQuartsToLiters(double value){return value*LitersUSQuartsFactor;}
	
	public static double litersToUSGallons(double value){return value/LitersUSGallonsFactor;}
	public static double usGallonsToLiters(double value){return value*LitersUSGallonsFactor;}
	
	public static double litersToUSBarrels(double value){return value/LitersUSBarrelsFactor;}
	public static double usBarrelsToLiters(double value){return value*LitersUSBarrelsFactor;}
	
	public static double litersToImperialTeaspoons(double value){return value/LitersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToLiters(double value){return value*LitersImperialTeaspoonFactor;}
	
	public static double litersToImperialTablespoons(double value){return value/LitersImperialTablespoonFactor;}
	public static double imperialTablespoonsToLiters(double value){return value*LitersImperialTablespoonFactor;}
	
	public static double litersToImperialFluidounces(double value){return value/LitersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToLiters(double value){return value*LitersImperialFluidouncesFactor;}
	
	public static double litersToImperialPints(double value){return value/LitersImperialPintsFactor;}
	public static double imperialPintsToLiters(double value){return value*LitersImperialPintsFactor;}
	
	public static double litersToImperialQuarts(double value){return value/LitersImperialQuartsFactor;}
	public static double imperialQuartsToLiters(double value){return value*LitersImperialQuartsFactor;}
	
	public static double litersToImperialGallons(double value){return value/LitersImperialGallonsFactor;}
	public static double imperialGallonsToLiters(double value){return value*LitersImperialGallonsFactor;}
	
	public static double litersToImperialBarrels(double value){return value/LitersImperialBarrelsFactor;}
	public static double imperialBarrelsToLiters(double value){return value*LitersImperialBarrelsFactor;}

	
	

	//dekaliters to hectoliters, teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double DekalitersHectolitersFactor				=	10.0;					//1 hectoliter			=	10.0 				dekaliters.
	public final static double DekalitersTeaspoonsFactor				=	0.0005;					//1 teaspoon			=	0.0005 				dekaliters.
	public final static double DekalitersTableSpoonsFactor				=	0.0015;					//1 tablespoon			=	0.0015 				dekaliters.
	public final static double DekalitersCupsFactor						=	0.025;					//1 cup					=	0.025 				dekaliters.
	public final static double DekalitersUSTeaspoonsFactor				=	0.0004928921594;		//1 US teaspoon			=	0.0004928921594 	dekaliters.
	public final static double DekalitersUSTablespoonsFactor			=	0.0014786764781;		//1 US tablespoon		=	0.0014786764781 	dekaliters.
	public final static double DekalitersUSFluidouncesFactor			=	0.0029573529563;		//1 US fluid ounce		=	0.0029573529563 	dekaliters.
	public final static double DekalitersUSCupsFactor					=	0.02365882365;			//1 US cup				=	0.02365882365 		dekaliters.
	public final static double DekalitersUSPintsFactor					=	0.0473176473;			//1 US pint				=	0.0473176473 		dekaliters.
	public final static double DekalitersUSQuartsFactor					=	0.0946352946;			//1 US quart			=	0.0946352946 		dekaliters.
	public final static double DekalitersUSGallonsFactor				=	0.3785411784;			//1 US gallon			=	0.3785411784 		dekaliters.
	public final static double DekalitersUSBarrelsFactor				=	11.9240471196;			//1 US barrel			=	11.9240471196 		dekaliters.
	public final static double DekalitersImperialTeaspoonFactor			=	0.0005919388021;		//1 imperial teaspoon	=	0.0005919388021 	dekaliters.
	public final static double DekalitersImperialTablespoonFactor		=	0.0017758164062;		//1 imperial tablespoon	=	0.0017758164062 	dekaliters.
	public final static double DekalitersImperialFluidouncesFactor		=	0.00284130625;			//1 imperial fluid ounce=	0.00284130625 		dekaliters.
	public final static double DekalitersImperialPintsFactor			=	0.056826125;			//1 imperial pint		=	0.056826125 		dekaliters.
	public final static double DekalitersImperialQuartsFactor			=	0.11365225;				//1 imperial quart		=	0.11365225 			dekaliters.
	public final static double DekalitersImperialGallonsFactor			=	0.454609;				//1 imperial gallon		=	0.454609 			dekaliters.
	public final static double DekalitersImperialBarrelsFactor			=	16.365924;				//1 imperial barrel		=	16.365924 			dekaliters.
	
	
	public static double dekalitersToHectoliters(double value){return value/DekalitersHectolitersFactor;}
	public static double hectolitersToDekaliters(double value){return value*DekalitersHectolitersFactor;}
	
	public static double dekalitersToTeaspoons(double value){return value/DekalitersTeaspoonsFactor;}
	public static double teaspoonsToDekaliters(double value){return value*DekalitersTeaspoonsFactor;}
	
	public static double dekalitersToTablespoons(double value){return value/DekalitersTableSpoonsFactor;}
	public static double tablespoonsToDekaliters(double value){return value*DekalitersTableSpoonsFactor;}
	
	public static double dekalitersToCups(double value){return value/DekalitersCupsFactor;}
	public static double cupsToDekaliters(double value){return value*DekalitersCupsFactor;}
	
	public static double dekalitersToUSTeaspoons(double value){return value/DekalitersUSTeaspoonsFactor;}
	public static double usTeaspoonsToDekaliters(double value){return value*DekalitersUSTeaspoonsFactor;}
	
	public static double dekalitersToUSTablespoons(double value){return value/DekalitersUSTablespoonsFactor;}
	public static double usTablespoonsToDekaliters(double value){return value*DekalitersUSTablespoonsFactor;}
	
	public static double dekalitersToUSFluidounces(double value){return value/DekalitersUSFluidouncesFactor;}
	public static double usFluidouncesToDekaliters(double value){return value*DekalitersUSFluidouncesFactor;}
	
	public static double dekalitersToUSCups(double value){return value/DekalitersUSCupsFactor;}
	public static double usCupsToDekaliters(double value){return value*DekalitersUSCupsFactor;}
	
	public static double dekalitersToUSPints(double value){return value/DekalitersUSPintsFactor;}
	public static double usPintsToDekaliters(double value){return value*DekalitersUSPintsFactor;}
	
	public static double dekalitersToUSQuarts(double value){return value/DekalitersUSQuartsFactor;}
	public static double usQuartsToDekaliters(double value){return value*DekalitersUSQuartsFactor;}
	
	public static double dekalitersToUSGallons(double value){return value/DekalitersUSGallonsFactor;}
	public static double usGallonsToDekaliters(double value){return value*DekalitersUSGallonsFactor;}
	
	public static double dekalitersToUSBarrels(double value){return value/DekalitersUSBarrelsFactor;}
	public static double usBarrelsToDekaliters(double value){return value*DekalitersUSBarrelsFactor;}
	
	public static double dekalitersToImperialTeaspoons(double value){return value/DekalitersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToDekaliters(double value){return value*DekalitersImperialTeaspoonFactor;}
	
	public static double dekalitersToImperialTablespoons(double value){return value/DekalitersImperialTablespoonFactor;}
	public static double imperialTablespoonsToDekaliters(double value){return value*DekalitersImperialTablespoonFactor;}
	
	public static double dekalitersToImperialFluidounces(double value){return value/DekalitersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToDekaliters(double value){return value*DekalitersImperialFluidouncesFactor;}
	
	public static double dekalitersToImperialPints(double value){return value/DekalitersImperialPintsFactor;}
	public static double imperialPintsToDekaliters(double value){return value*DekalitersImperialPintsFactor;}
	
	public static double dekalitersToImperialQuarts(double value){return value/DekalitersImperialQuartsFactor;}
	public static double imperialQuartsToDekaliters(double value){return value*DekalitersImperialQuartsFactor;}
	
	public static double dekalitersToImperialGallons(double value){return value/DekalitersImperialGallonsFactor;}
	public static double imperialGallonsToDekaliters(double value){return value*DekalitersImperialGallonsFactor;}
	
	public static double dekalitersToImperialBarrels(double value){return value/DekalitersImperialBarrelsFactor;}
	public static double imperialBarrelsToDekaliters(double value){return value*DekalitersImperialBarrelsFactor;}

	
	
	//hectoliters to teaspoons, tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double HectolitersTeaspoonsFactor				=	0.00005;				//1 teaspoon			=	0.00005 			hectoliters.
	public final static double HectolitersTableSpoonsFactor				=	0.00015;				//1 tablespoon			=	0.00015 			hectoliters.
	public final static double HectolitersCupsFactor					=	0.0025;					//1 cup					=	0.0025 				hectoliters.
	public final static double HectolitersUSTeaspoonsFactor				=	0.00004928921594;		//1 US teaspoon			=	0.00004928921594 	hectoliters.
	public final static double HectolitersUSTablespoonsFactor			=	0.00014786764781;		//1 US tablespoon		=	0.00014786764781 	hectoliters.
	public final static double HectolitersUSFluidouncesFactor			=	0.00029573529563;		//1 US fluid ounce		=	0.00029573529563 	hectoliters.
	public final static double HectolitersUSCupsFactor					=	0.002365882365;			//1 US cup				=	0.002365882365 		hectoliters.
	public final static double HectolitersUSPintsFactor					=	0.00473176473;			//1 US pint				=	0.00473176473 		hectoliters.
	public final static double HectolitersUSQuartsFactor				=	0.00946352946;			//1 US quart			=	0.00946352946 		hectoliters.
	public final static double HectolitersUSGallonsFactor				=	0.03785411784;			//1 US gallon			=	0.03785411784 		hectoliters.
	public final static double HectolitersUSBarrelsFactor				=	1.19240471196;			//1 US barrel			=	1.19240471196 		hectoliters.
	public final static double HectolitersImperialTeaspoonFactor		=	0.00005919388021;		//1 imperial teaspoon	=	0.00005919388021 	hectoliters.
	public final static double HectolitersImperialTablespoonFactor		=	0.00017758164062;		//1 imperial tablespoon	=	0.00017758164062 	hectoliters.
	public final static double HectolitersImperialFluidouncesFactor		=	0.000284130625;			//1 imperial fluid ounce=	0.000284130625 		hectoliters.
	public final static double HectolitersImperialPintsFactor			=	0.0056826125;			//1 imperial pint		=	0.0056826125 		hectoliters.
	public final static double HectolitersImperialQuartsFactor			=	0.011365225;			//1 imperial quart		=	0.011365225 		hectoliters.
	public final static double HectolitersImperialGallonsFactor			=	0.0454609;				//1 imperial gallon		=	0.0454609 			hectoliters.
	public final static double HectolitersImperialBarrelsFactor			=	1.6365924;				//1 imperial barrel		=	1.6365924 			hectoliters.
	

	public static double hectolitersToTeaspoons(double value){return value/HectolitersTeaspoonsFactor;}
	public static double teaspoonsToHectoliters(double value){return value*HectolitersTeaspoonsFactor;}
	
	public static double hectolitersToTablespoons(double value){return value/HectolitersTableSpoonsFactor;}
	public static double tablespoonsToHectoliters(double value){return value*HectolitersTableSpoonsFactor;}
	
	public static double hectolitersToCups(double value){return value/HectolitersCupsFactor;}
	public static double cupsToHectoliters(double value){return value*HectolitersCupsFactor;}
	
	public static double hectolitersToUSTeaspoons(double value){return value/HectolitersUSTeaspoonsFactor;}
	public static double usTeaspoonsToHectoliters(double value){return value*HectolitersUSTeaspoonsFactor;}
	
	public static double hectolitersToUSTablespoons(double value){return value/HectolitersUSTablespoonsFactor;}
	public static double usTablespoonsToHectoliters(double value){return value*HectolitersUSTablespoonsFactor;}
	
	public static double hectolitersToUSFluidounces(double value){return value/HectolitersUSFluidouncesFactor;}
	public static double usFluidouncesToHectoliters(double value){return value*HectolitersUSFluidouncesFactor;}
	
	public static double hectolitersToUSCups(double value){return value/HectolitersUSCupsFactor;}
	public static double usCupsToHectoliters(double value){return value*HectolitersUSCupsFactor;}
	
	public static double hectolitersToUSPints(double value){return value/HectolitersUSPintsFactor;}
	public static double usPintsToHectoliters(double value){return value*HectolitersUSPintsFactor;}
	
	public static double hectolitersToUSQuarts(double value){return value/HectolitersUSQuartsFactor;}
	public static double usQuartsToHectoliters(double value){return value*HectolitersUSQuartsFactor;}
	
	public static double hectolitersToUSGallons(double value){return value/HectolitersUSGallonsFactor;}
	public static double usGallonsToHectoliters(double value){return value*HectolitersUSGallonsFactor;}
	
	public static double hectolitersToUSBarrels(double value){return value/HectolitersUSBarrelsFactor;}
	public static double usBarrelsToHectoliters(double value){return value*HectolitersUSBarrelsFactor;}
	
	public static double hectolitersToImperialTeaspoons(double value){return value/HectolitersImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToHectoliters(double value){return value*HectolitersImperialTeaspoonFactor;}
	
	public static double hectolitersToImperialTablespoons(double value){return value/HectolitersImperialTablespoonFactor;}
	public static double imperialTablespoonsToHectoliters(double value){return value*HectolitersImperialTablespoonFactor;}
	
	public static double hectolitersToImperialFluidounces(double value){return value/HectolitersImperialFluidouncesFactor;}
	public static double imperialFluidouncesToHectoliters(double value){return value*HectolitersImperialFluidouncesFactor;}
	
	public static double hectolitersToImperialPints(double value){return value/HectolitersImperialPintsFactor;}
	public static double imperialPintsToHectoliters(double value){return value*HectolitersImperialPintsFactor;}
	
	public static double hectolitersToImperialQuarts(double value){return value/HectolitersImperialQuartsFactor;}
	public static double imperialQuartsToHectoliters(double value){return value*HectolitersImperialQuartsFactor;}
	
	public static double hectolitersToImperialGallons(double value){return value/HectolitersImperialGallonsFactor;}
	public static double imperialGallonsToHectoliters(double value){return value*HectolitersImperialGallonsFactor;}
	
	public static double hectolitersToImperialBarrels(double value){return value/HectolitersImperialBarrelsFactor;}
	public static double imperialBarrelsToHectoliters(double value){return value*HectolitersImperialBarrelsFactor;}

	
	
	//Teaspoons to tablespoons, cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double TeaspoonsTableSpoonsFactor				=	3;						//1 tablespoon			=	3					teaspoons.
	public final static double TeaspoonsCupsFactor						=	50;						//1 cup					=	50					teaspoons.
	public final static double TeaspoonsUSTeaspoonsFactor				=	0.9857843197754997;		//1 US teaspoon			=	0.9857843197754997	teaspoons.
	public final static double TeaspoonsUSTablespoonsFactor				=	2.957352956192539;		//1 US tablespoon		=	2.957352956192539 	teaspoons.
	public final static double TeaspoonsUSFluidouncesFactor				=	5.914705913;			//1 US fluid ounce		=	5.914705913 		teaspoons.
	public final static double TeaspoonsUSCupsFactor					=	47.3176473;				//1 US cup				=	 47.3176473			teaspoons.
	public final static double TeaspoonsUSPintsFactor					=	94.6352946;				//1 US pint				=	94.6352946 			teaspoons.
	public final static double TeaspoonsUSQuartsFactor					=	189.2705892;			//1 US quart			=	189.2705892 		teaspoons.
	public final static double TeaspoonsUSGallonsFactor					=	757.0823568;			//1 US gallon			=	757.0823568			teaspoons.
	public final static double TeaspoonsUSBarrelsFactor					=	23848.0942392;			//1 US barrel			=	23848.0942392 		teaspoons.
	public final static double TeaspoonsImperialTeaspoonFactor			=	1.183877677634664;		//1 imperial teaspoon	=	1.183877677634664 	teaspoons.
	public final static double TeaspoonsImperialTablespoonFactor		=	3.551632812;			//1 imperial tablespoon	=	3.551632812 		teaspoons.
	public final static double TeaspoonsImperialFluidouncesFactor		=	5.6826125;				//1 imperial fluid ounce=	5.6826125			teaspoons.
	public final static double TeaspoonsImperialPintsFactor				=	113.65225;				//1 imperial pint		=	113.65225 			teaspoons.
	public final static double TeaspoonsImperialQuartsFactor			=	227.3045;				//1 imperial quart		=	227.3045 			teaspoons.
	public final static double TeaspoonsImperialGallonsFactor			=	909.218;				//1 imperial gallon		=	909.218				teaspoons.
	public final static double TeaspoonsImperialBarrelsFactor			=	32731.848;				//1 imperial barrel		=	32731.848			teaspoons.
	
	

	public static double teaspoonsToTablespoons(double value){return value/TeaspoonsTableSpoonsFactor;}
	public static double tablespoonsToTeaspoons(double value){return value*TeaspoonsTableSpoonsFactor;}
	
	public static double teaspoonsToCups(double value){return value/TeaspoonsCupsFactor;}
	public static double cupsToTeaspoons(double value){return value*TeaspoonsCupsFactor;}
	
	public static double teaspoonsToUSTeaspoons(double value){return value/TeaspoonsUSTeaspoonsFactor;}
	public static double usTeaspoonsToTeaspoons(double value){return value*TeaspoonsUSTeaspoonsFactor;}
	
	public static double teaspoonsToUSTablespoons(double value){return value/TeaspoonsUSTablespoonsFactor;}
	public static double usTablespoonsToTeaspoons(double value){return value*TeaspoonsUSTablespoonsFactor;}
	
	public static double teaspoonsToUSFluidounces(double value){return value/TeaspoonsUSFluidouncesFactor;}
	public static double usFluidouncesToTeaspoons(double value){return value*TeaspoonsUSFluidouncesFactor;}
	
	public static double teaspoonsToUSCups(double value){return value/TeaspoonsUSCupsFactor;}
	public static double usCupsToTeaspoons(double value){return value*TeaspoonsUSCupsFactor;}
	
	public static double teaspoonsToUSPints(double value){return value/TeaspoonsUSPintsFactor;}
	public static double usPintsToTeaspoons(double value){return value*TeaspoonsUSPintsFactor;}
	
	public static double teaspoonsToUSQuarts(double value){return value/TeaspoonsUSQuartsFactor;}
	public static double usQuartsToTeaspoons(double value){return value*TeaspoonsUSQuartsFactor;}
	
	public static double teaspoonsToUSGallons(double value){return value/TeaspoonsUSGallonsFactor;}
	public static double usGallonsToTeaspoons(double value){return value*TeaspoonsUSGallonsFactor;}
	
	public static double teaspoonsToUSBarrels(double value){return value/TeaspoonsUSBarrelsFactor;}
	public static double usBarrelsToTeaspoons(double value){return value*TeaspoonsUSBarrelsFactor;}
	
	public static double teaspoonsToImperialTeaspoons(double value){return value/TeaspoonsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToTeaspoons(double value){return value*TeaspoonsImperialTeaspoonFactor;}
	
	public static double teaspoonsToImperialTablespoons(double value){return value/TeaspoonsImperialTablespoonFactor;}
	public static double imperialTablespoonsToTeaspoons(double value){return value*TeaspoonsImperialTablespoonFactor;}
	
	public static double teaspoonsToImperialFluidounces(double value){return value/TeaspoonsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToTeaspoons(double value){return value*TeaspoonsImperialFluidouncesFactor;}
	
	public static double teaspoonsToImperialPints(double value){return value/TeaspoonsImperialPintsFactor;}
	public static double imperialPintsToTeaspoons(double value){return value*TeaspoonsImperialPintsFactor;}
	
	public static double teaspoonsToImperialQuarts(double value){return value/TeaspoonsImperialQuartsFactor;}
	public static double imperialQuartsToTeaspoons(double value){return value*TeaspoonsImperialQuartsFactor;}
	
	public static double teaspoonsToImperialGallons(double value){return value/TeaspoonsImperialGallonsFactor;}
	public static double imperialGallonsToTeaspoons(double value){return value*TeaspoonsImperialGallonsFactor;}
	
	public static double teaspoonsToImperialBarrels(double value){return value/TeaspoonsImperialBarrelsFactor;}
	public static double imperialBarrelsToTeaspoons(double value){return value*TeaspoonsImperialBarrelsFactor;}

	
	
	//Tablespoons to cups, US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double TablespoonsCupsFactor					=	16.666666667;			//1 cup					=	16.666666667	tablespoons.
	public final static double TablespoonsUSTeaspoonsFactor				=	0.328594773;			//1 US teaspoon			=	0.328594773		tablespoons.
	public final static double TablespoonsUSTablespoonsFactor			=	0.985784319;			//1 US tablespoon		=	0.985784319		tablespoons.
	public final static double TablespoonsUSFluidouncesFactor			=	1.971568638;			//1 US fluid ounce		=	1.971568638 	tablespoons.
	public final static double TablespoonsUSCupsFactor					=	15.7725491;				//1 US cup				=	15.7725491 		tablespoons.
	public final static double TablespoonsUSPintsFactor					=	31.5450982;				//1 US pint				=	31.5450982		tablespoons.
	public final static double TablespoonsUSQuartsFactor				=	63.0901964;				//1 US quart			=	63.0901964		tablespoons.
	public final static double TablespoonsUSGallonsFactor				=	252.3607856;			//1 US gallon			=	252.3607856		tablespoons.
	public final static double TablespoonsUSBarrelsFactor				=	7949.3647464;			//1 US barrel			=	7949.3647464	tablespoons.
	public final static double TablespoonsImperialTeaspoonFactor		=	0.394625868;			//1 imperial teaspoon	=	0.394625868 	tablespoons.
	public final static double TablespoonsImperialTablespoonFactor		=	1.183877604;			//1 imperial tablespoon	=	1.183877604		tablespoons.
	public final static double TablespoonsImperialFluidouncesFactor		=	1.894204167;			//1 imperial fluid ounce=	1.894204167		tablespoons.
	public final static double TablespoonsImperialPintsFactor			=	37.884083333;			//1 imperial pint		=	37.884083333 	tablespoons.
	public final static double TablespoonsImperialQuartsFactor			=	75.768166667;			//1 imperial quart		=	75.768166667	tablespoons.
	public final static double TablespoonsImperialGallonsFactor			=	303.072666667;			//1 imperial gallon		=	303.072666667	tablespoons.
	public final static double TablespoonsImperialBarrelsFactor			=	10910.616;				//1 imperial barrel		=	10910.616		tablespoons.
	
	
	public static double tablespoonsToCups(double value){return value/TablespoonsCupsFactor;}
	public static double cupsToTablespoons(double value){return value*TablespoonsCupsFactor;}
	
	public static double tablespoonsToUSTeaspoons(double value){return value/TablespoonsUSTeaspoonsFactor;}
	public static double usTeaspoonsToTablespoons(double value){return value*TablespoonsUSTeaspoonsFactor;}
	
	public static double tablespoonsToUSTablespoons(double value){return value/TablespoonsUSTablespoonsFactor;}
	public static double usTablespoonsToTablespoons(double value){return value*TablespoonsUSTablespoonsFactor;}
	
	public static double tablespoonsToUSFluidounces(double value){return value/TablespoonsUSFluidouncesFactor;}
	public static double usFluidouncesToTablespoons(double value){return value*TablespoonsUSFluidouncesFactor;}
	
	public static double tablespoonsToUSCups(double value){return value/TablespoonsUSCupsFactor;}
	public static double usCupsToTablespoons(double value){return value*TablespoonsUSCupsFactor;}
	
	public static double tablespoonsToUSPints(double value){return value/TablespoonsUSPintsFactor;}
	public static double usPintsToTablespoons(double value){return value*TablespoonsUSPintsFactor;}
	
	public static double tablespoonsToUSQuarts(double value){return value/TablespoonsUSQuartsFactor;}
	public static double usQuartsToTablespoons(double value){return value*TablespoonsUSQuartsFactor;}
	
	public static double tablespoonsToUSGallons(double value){return value/TablespoonsUSGallonsFactor;}
	public static double usGallonsToTablespoons(double value){return value*TablespoonsUSGallonsFactor;}
	
	public static double tablespoonsToUSBarrels(double value){return value/TablespoonsUSBarrelsFactor;}
	public static double usBarrelsToTablespoons(double value){return value*TablespoonsUSBarrelsFactor;}
	
	public static double tablespoonsToImperialTeaspoons(double value){return value/TablespoonsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToTablespoons(double value){return value*TablespoonsImperialTeaspoonFactor;}
	
	public static double tablespoonsToImperialTablespoons(double value){return value/TablespoonsImperialTablespoonFactor;}
	public static double imperialTablespoonsToTablespoons(double value){return value*TablespoonsImperialTablespoonFactor;}
	
	public static double tablespoonsToImperialFluidounces(double value){return value/TablespoonsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToTablespoons(double value){return value*TablespoonsImperialFluidouncesFactor;}
	
	public static double tablespoonsToImperialPints(double value){return value/TablespoonsImperialPintsFactor;}
	public static double imperialPintsToTablespoons(double value){return value*TablespoonsImperialPintsFactor;}
	
	public static double tablespoonsToImperialQuarts(double value){return value/TablespoonsImperialQuartsFactor;}
	public static double imperialQuartsToTablespoons(double value){return value*TablespoonsImperialQuartsFactor;}
	
	public static double tablespoonsToImperialGallons(double value){return value/TablespoonsImperialGallonsFactor;}
	public static double imperialGallonsToTablespoons(double value){return value*TablespoonsImperialGallonsFactor;}
	
	public static double tablespoonsToImperialBarrels(double value){return value/TablespoonsImperialBarrelsFactor;}
	public static double imperialBarrelsToTablespoons(double value){return value*TablespoonsImperialBarrelsFactor;}


	//Cups to US teaspoons, US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double CupsUSTeaspoonsFactor					=	0.019715686;			//1 US teaspoon			=	0.019715686		cups.
	public final static double CupsUSTablespoonsFactor					=	0.059147059;			//1 US tablespoon		=	0.059147059		cups.
	public final static double CupsUSFluidouncesFactor					=	0.118294118;			//1 US fluid ounce		=	0.118294118		cups.
	public final static double CupsUSCupsFactor							=	0.946352946;			//1 US cup				=	0.946352946 	cups.
	public final static double CupsUSPintsFactor						=	1.892705892;			//1 US pint				=	1.892705892		cups.
	public final static double CupsUSQuartsFactor						=	3.785411784;			//1 US quart			=	3.785411784		cups.
	public final static double CupsUSGallonsFactor						=	15.141647136;			//1 US gallon			=	15.141647136	cups.
	public final static double CupsUSBarrelsFactor						=	476.961884784;			//1 US barrel			=	476.961884784	cups.
	public final static double CupsImperialTeaspoonFactor				=	0.023677552;			//1 imperial teaspoon	=	0.023677552		cups.
	public final static double CupsImperialTablespoonFactor				=	0.071032656;			//1 imperial tablespoon	=	0.071032656		cups.
	public final static double CupsImperialFluidouncesFactor			=	0.11365225;				//1 imperial fluid ounce=	0.11365225		cups.
	public final static double CupsImperialPintsFactor					=	2.273045;				//1 imperial pint		=	2.273045		cups.
	public final static double CupsImperialQuartsFactor					=	4.54609;				//1 imperial quart		=	4.54609			cups.
	public final static double CupsImperialGallonsFactor				=	18.18436;				//1 imperial gallon		=	18.18436		cups.
	public final static double CupsImperialBarrelsFactor				=	654.63696;				//1 imperial barrel		=	654.63696		cups.
	
	
	public static double cupsToUSTeaspoons(double value){return value/CupsUSTeaspoonsFactor;}
	public static double usTeaspoonsToCups(double value){return value*CupsUSTeaspoonsFactor;}
	
	public static double cupsToUSTablespoons(double value){return value/CupsUSTablespoonsFactor;}
	public static double usTablespoonsToCups(double value){return value*CupsUSTablespoonsFactor;}
	
	public static double cupsToUSFluidounces(double value){return value/CupsUSFluidouncesFactor;}
	public static double usFluidouncesToCups(double value){return value*CupsUSFluidouncesFactor;}
	
	public static double cupsToUSCups(double value){return value/CupsUSCupsFactor;}
	public static double usCupsToCups(double value){return value*CupsUSCupsFactor;}
	
	public static double cupsToUSPints(double value){return value/CupsUSPintsFactor;}
	public static double usPintsToCups(double value){return value*CupsUSPintsFactor;}
	
	public static double cupsToUSQuarts(double value){return value/CupsUSQuartsFactor;}
	public static double usQuartsToCups(double value){return value*CupsUSQuartsFactor;}
	
	public static double cupsToUSGallons(double value){return value/CupsUSGallonsFactor;}
	public static double usGallonsToCups(double value){return value*CupsUSGallonsFactor;}
	
	public static double cupsToUSBarrels(double value){return value/CupsUSBarrelsFactor;}
	public static double usBarrelsToCups(double value){return value*CupsUSBarrelsFactor;}
	
	public static double cupsToImperialTeaspoons(double value){return value/CupsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToCups(double value){return value*CupsImperialTeaspoonFactor;}
	
	public static double cupsToImperialTablespoons(double value){return value/CupsImperialTablespoonFactor;}
	public static double imperialTablespoonsToCups(double value){return value*CupsImperialTablespoonFactor;}
	
	public static double cupsToImperialFluidounces(double value){return value/CupsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToCups(double value){return value*CupsImperialFluidouncesFactor;}
	
	public static double cupsToImperialPints(double value){return value/CupsImperialPintsFactor;}
	public static double imperialPintsToCups(double value){return value*CupsImperialPintsFactor;}
	
	public static double cupsToImperialQuarts(double value){return value/CupsImperialQuartsFactor;}
	public static double imperialQuartsToCups(double value){return value*CupsImperialQuartsFactor;}
	
	public static double cupsToImperialGallons(double value){return value/CupsImperialGallonsFactor;}
	public static double imperialGallonsToCups(double value){return value*CupsImperialGallonsFactor;}
	
	public static double cupsToImperialBarrels(double value){return value/CupsImperialBarrelsFactor;}
	public static double imperialBarrelsToCups(double value){return value*CupsImperialBarrelsFactor;}

	
	
	
	
	//US teaspoons to US tablespoons, US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USTeaspoonsUSTablespoonsFactor			=	3.0;					//1 US tablespoon		=	3.0				US teaspoons.
	public final static double USTeaspoonsUSFluidouncesFactor			=	6.0;					//1 US fluid ounce		=	6.0				US teaspoons.
	public final static double USTeaspoonsUSCupsFactor					=	48.0;					//1 US cup				=	48.0 			US teaspoons.
	public final static double USTeaspoonsUSPintsFactor					=	96.0;					//1 US pint				=	96.0			US teaspoons.
	public final static double USTeaspoonsUSQuartsFactor				=	192;					//1 US quart			=	192				US teaspoons.
	public final static double USTeaspoonsUSGallonsFactor				=	768.0;					//1 US gallon			=	768				US teaspoons.
	public final static double USTeaspoonsUSBarrelsFactor				=	24192.0;					//1 US barrel			=	24192			US teaspoons.
	public final static double USTeaspoonsImperialTeaspoonFactor		=	1.200949926;			//1 imperial teaspoon	=	1.200949926		US teaspoons.
	public final static double USTeaspoonsImperialTablespoonFactor		=	3.602849777;			//1 imperial tablespoon	=	3.602849777		US teaspoons.
	public final static double USTeaspoonsImperialFluidouncesFactor		=	5.764559642;			//1 imperial fluid ounce=	5.764559642		US teaspoons.
	public final static double USTeaspoonsImperialPintsFactor			=	115.291192848;			//1 imperial pint		=	115.291192848	US teaspoons.
	public final static double USTeaspoonsImperialQuartsFactor			=	230.582385697;			//1 imperial quart		=	230.582385697	US teaspoons.
	public final static double USTeaspoonsImperialGallonsFactor			=	922.329542788;			//1 imperial gallon		=	922.329542788	US teaspoons.
	public final static double USTeaspoonsImperialBarrelsFactor			=	33203.863540358;		//1 imperial barrel		=	33203.863540358	US teaspoons.
	

	public static double usTeaspoonsToUSTablespoons(double value){return value/USTeaspoonsUSTablespoonsFactor;}
	public static double usTablespoonsToUSTeaspoons(double value){return value*USTeaspoonsUSTablespoonsFactor;}
	
	public static double usTeaspoonsToUSFluidounces(double value){return value/USTeaspoonsUSFluidouncesFactor;}
	public static double usFluidouncesToUSTeaspoons(double value){return value*USTeaspoonsUSFluidouncesFactor;}
	
	public static double usTeaspoonsToUSCups(double value){return value/USTeaspoonsUSCupsFactor;}
	public static double usCupsToUSTeaspoons(double value){return value*USTeaspoonsUSCupsFactor;}
	
	public static double usTeaspoonsToUSPints(double value){return value/USTeaspoonsUSPintsFactor;}
	public static double usPintsToUSTeaspoons(double value){return value*USTeaspoonsUSPintsFactor;}
	
	public static double usTeaspoonsToUSQuarts(double value){return value/USTeaspoonsUSQuartsFactor;}
	public static double usQuartsToUSTeaspoons(double value){return value*USTeaspoonsUSQuartsFactor;}
	
	public static double usTeaspoonsToUSGallons(double value){return value/USTeaspoonsUSGallonsFactor;}
	public static double usGallonsToUSTeaspoons(double value){return value*USTeaspoonsUSGallonsFactor;}
	
	public static double usTeaspoonsToUSBarrels(double value){return value/USTeaspoonsUSBarrelsFactor;}
	public static double usBarrelsToUSTeaspoons(double value){return value*USTeaspoonsUSBarrelsFactor;}
	
	public static double usTeaspoonsToImperialTeaspoons(double value){return value/USTeaspoonsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSTeaspoons(double value){return value*USTeaspoonsImperialTeaspoonFactor;}
	
	public static double usTeaspoonsToImperialTablespoons(double value){return value/USTeaspoonsImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSTeaspoons(double value){return value*USTeaspoonsImperialTablespoonFactor;}
	
	public static double usTeaspoonsToImperialFluidounces(double value){return value/USTeaspoonsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSTeaspoons(double value){return value*USTeaspoonsImperialFluidouncesFactor;}
	
	public static double usTeaspoonsToImperialPints(double value){return value/USTeaspoonsImperialPintsFactor;}
	public static double imperialPintsToUSTeaspoons(double value){return value*USTeaspoonsImperialPintsFactor;}
	
	public static double usTeaspoonsToImperialQuarts(double value){return value/USTeaspoonsImperialQuartsFactor;}
	public static double imperialQuartsToUSTeaspoons(double value){return value*USTeaspoonsImperialQuartsFactor;}
	
	public static double usTeaspoonsToImperialGallons(double value){return value/USTeaspoonsImperialGallonsFactor;}
	public static double imperialGallonsToUSTeaspoons(double value){return value*USTeaspoonsImperialGallonsFactor;}
	
	public static double usTeaspoonsToImperialBarrels(double value){return value/USTeaspoonsImperialBarrelsFactor;}
	public static double imperialBarrelsToUSTeaspoons(double value){return value*USTeaspoonsImperialBarrelsFactor;}


	//US tablespoons to US fluid ounces, US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USTablespoonsUSFluidouncesFactor			=	2.0;					//1 US fluid ounce		=		2.0				US tablespoons.
	public final static double USTablespoonsUSCupsFactor				=	16.0;					//1 US cup				=		16.0			US tablespoons.
	public final static double USTablespoonsUSPintsFactor				=	32.0;					//1 US pint				=		32.0			US tablespoons.
	public final static double USTablespoonsUSQuartsFactor				=	64.0;					//1 US quart			=		64.0			US tablespoons.
	public final static double USTablespoonsUSGallonsFactor				=	256.0;					//1 US gallon			=		256.0			US tablespoons.
	public final static double USTablespoonsUSBarrelsFactor				=	8064.0;					//1 US barrel			=		8064.0			US tablespoons.
	public final static double USTablespoonsImperialTeaspoonFactor		=	0.400316642;			//1 imperial teaspoon	=		0.400316642		US tablespoons.
	public final static double USTablespoonsImperialTablespoonFactor	=	1.200949926;			//1 imperial tablespoon	=		1.200949926		US tablespoons.
	public final static double USTablespoonsImperialFluidouncesFactor	=	1.921519881;			//1 imperial fluid ounce=		1.921519881		US tablespoons.
	public final static double USTablespoonsImperialPintsFactor			=	38.430397616;			//1 imperial pint		=		38.430397616	US tablespoons.
	public final static double USTablespoonsImperialQuartsFactor		=	76.860795232;			//1 imperial quart		=		76.860795232	US tablespoons.
	public final static double USTablespoonsImperialGallonsFactor		=	307.443180929;			//1 imperial gallon		=		307.443180929	US tablespoons.
	public final static double USTablespoonsImperialBarrelsFactor		=	11067.954513453;		//1 imperial barrel		=		11067.954513453	US tablespoons.
	

	public static double usTablespoonsToUSFluidounces(double value){return value/USTablespoonsUSFluidouncesFactor;}
	public static double usFluidouncesToUSTablespoons(double value){return value*USTablespoonsUSFluidouncesFactor;}
	
	public static double usTablespoonsToUSCups(double value){return value/USTablespoonsUSCupsFactor;}
	public static double usCupsToUSTablespoons(double value){return value*USTablespoonsUSCupsFactor;}
	
	public static double usTablespoonsToUSPints(double value){return value/USTablespoonsUSPintsFactor;}
	public static double usPintsToUSTablespoons(double value){return value*USTablespoonsUSPintsFactor;}
	
	public static double usTablespoonsToUSQuarts(double value){return value/USTablespoonsUSQuartsFactor;}
	public static double usQuartsToUSTablespoons(double value){return value*USTablespoonsUSQuartsFactor;}
	
	public static double usTablespoonsToUSGallons(double value){return value/USTablespoonsUSGallonsFactor;}
	public static double usGallonsToUSTablespoons(double value){return value*USTablespoonsUSGallonsFactor;}
	
	public static double usTablespoonsToUSBarrels(double value){return value/USTablespoonsUSBarrelsFactor;}
	public static double usBarrelsToUSTablespoons(double value){return value*USTablespoonsUSBarrelsFactor;}
	
	public static double usTablespoonsToImperialTeaspoons(double value){return value/USTablespoonsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSTablespoons(double value){return value*USTablespoonsImperialTeaspoonFactor;}
	
	public static double usTablespoonsToImperialTablespoons(double value){return value/USTablespoonsImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSTablespoons(double value){return value*USTablespoonsImperialTablespoonFactor;}
	
	public static double usTablespoonsToImperialFluidounces(double value){return value/USTablespoonsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSTablespoons(double value){return value*USTablespoonsImperialFluidouncesFactor;}
	
	public static double usTablespoonsToImperialPints(double value){return value/USTablespoonsImperialPintsFactor;}
	public static double imperialPintsToUSTablespoons(double value){return value*USTablespoonsImperialPintsFactor;}
	
	public static double usTablespoonsToImperialQuarts(double value){return value/USTablespoonsImperialQuartsFactor;}
	public static double imperialQuartsToUSTablespoons(double value){return value*USTablespoonsImperialQuartsFactor;}
	
	public static double usTablespoonsToImperialGallons(double value){return value/USTablespoonsImperialGallonsFactor;}
	public static double imperialGallonsToUSTablespoons(double value){return value*USTablespoonsImperialGallonsFactor;}
	
	public static double usTablespoonsToImperialBarrels(double value){return value/USTablespoonsImperialBarrelsFactor;}
	public static double imperialBarrelsToUSTablespoons(double value){return value*USTablespoonsImperialBarrelsFactor;}



	//US fluid ounces to US cups, US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USFluidouncesUSCupsFactor				=	8.0;					//1 US cup				=	8.0				US fluid ounces.
	public final static double USFluidouncesUSPintsFactor				=	16.0;					//1 US pint				=	16.0			US fluid ounces.
	public final static double USFluidouncesUSQuartsFactor				=	32.0;					//1 US quart			=	32.0			US fluid ounces.
	public final static double USFluidouncesUSGallonsFactor				=	128.0;					//1 US gallon			=	128.0			US fluid ounces.
	public final static double USFluidouncesUSBarrelsFactor				=	4032.0;					//1 US barrel			=	4032.0			US fluid ounces.
	public final static double USFluidouncesImperialTeaspoonFactor		=	0.200158321;			//1 imperial teaspoon	=	0.200158321		US fluid ounces.
	public final static double USFluidouncesImperialTablespoonFactor	=	0.600474963;			//1 imperial tablespoon	=	0.600474963		US fluid ounces.
	public final static double USFluidouncesImperialFluidouncesFactor	=	0.96075994;				//1 imperial fluid ounce=	0.96075994		US fluid ounces.
	public final static double USFluidouncesImperialPintsFactor			=	19.215198808;			//1 imperial pint		=	19.215198808	US fluid ounces.
	public final static double USFluidouncesImperialQuartsFactor		=	38.430397616;			//1 imperial quart		=	38.430397616	US fluid ounces.
	public final static double USFluidouncesImperialGallonsFactor		=	153.721590465;			//1 imperial gallon		=	153.721590465	US fluid ounces.
	public final static double USFluidouncesImperialBarrelsFactor		=	5533.977256726;			//1 imperial barrel		=	5533.977256726	US fluid ounces.
	

	public static double usFluidouncesToUSCups(double value){return value/USFluidouncesUSCupsFactor;}
	public static double usCupsToUSFluidounces(double value){return value*USFluidouncesUSCupsFactor;}
	
	public static double usFluidouncesToUSPints(double value){return value/USFluidouncesUSPintsFactor;}
	public static double usPintsToUSFluidounces(double value){return value*USFluidouncesUSPintsFactor;}
	
	public static double usFluidouncesToUSQuarts(double value){return value/USFluidouncesUSQuartsFactor;}
	public static double usQuartsToUSFluidounces(double value){return value*USFluidouncesUSQuartsFactor;}
	
	public static double usFluidouncesToUSGallons(double value){return value/USFluidouncesUSGallonsFactor;}
	public static double usGallonsToUSFluidounces(double value){return value*USFluidouncesUSGallonsFactor;}
	
	public static double usFluidouncesToUSBarrels(double value){return value/USFluidouncesUSBarrelsFactor;}
	public static double usBarrelsToUSFluidounces(double value){return value*USFluidouncesUSBarrelsFactor;}
	
	public static double usFluidouncesToImperialTeaspoons(double value){return value/USFluidouncesImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSFluidounces(double value){return value*USFluidouncesImperialTeaspoonFactor;}
	
	public static double usFluidouncesToImperialTablespoons(double value){return value/USFluidouncesImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSFluidounces(double value){return value*USFluidouncesImperialTablespoonFactor;}
	
	public static double usFluidouncesToImperialFluidounces(double value){return value/USFluidouncesImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSFluidounces(double value){return value*USFluidouncesImperialFluidouncesFactor;}
	
	public static double usFluidouncesToImperialPints(double value){return value/USFluidouncesImperialPintsFactor;}
	public static double imperialPintsToUSFluidounces(double value){return value*USFluidouncesImperialPintsFactor;}
	
	public static double usFluidouncesToImperialQuarts(double value){return value/USFluidouncesImperialQuartsFactor;}
	public static double imperialQuartsToUSFluidounces(double value){return value*USFluidouncesImperialQuartsFactor;}
	
	public static double usFluidouncesToImperialGallons(double value){return value/USFluidouncesImperialGallonsFactor;}
	public static double imperialGallonsToUSFluidounces(double value){return value*USFluidouncesImperialGallonsFactor;}
	
	public static double usFluidouncesToImperialBarrels(double value){return value/USFluidouncesImperialBarrelsFactor;}
	public static double imperialBarrelsToUSFluidounces(double value){return value*USFluidouncesImperialBarrelsFactor;}


	
	
	//US cups to US pints, US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USCupsUSPintsFactor						=	2.0;					//1 US pint				=	2.0				US cups.
	public final static double USCupsUSQuartsFactor						=	4.0;					//1 US quart			=	4.0				US cups.
	public final static double USCupsUSGallonsFactor					=	16.0;					//1 US gallon			=	16.0			US cups.
	public final static double USCupsUSBarrelsFactor					=	504.0;					//1 US barrel			=	504.0			US cups.
	public final static double USCupsImperialTeaspoonFactor				=	0.02501979;				//1 imperial teaspoon	=	0.02501979		US cups.
	public final static double USCupsImperialTablespoonFactor			=	0.07505937;				//1 imperial tablespoon	=	0.07505937		US cups.
	public final static double USCupsImperialFluidouncesFactor			=	0.120094993;			//1 imperial fluid ounce=	0.120094993		US cups.
	public final static double USCupsImperialPintsFactor				=	2.401899851;			//1 imperial pint		=	2.401899851		US cups.
	public final static double USCupsImperialQuartsFactor				=	4.803799702;			//1 imperial quart		=	4.803799702		US cups.
	public final static double USCupsImperialGallonsFactor				=	19.215198808;			//1 imperial gallon		=	19.215198808	US cups.
	public final static double USCupsImperialBarrelsFactor				=	691.747157091;			//1 imperial barrel		=	691.747157091	US cups.
	
	
	public static double usCupsToUSPints(double value){return value/USCupsUSPintsFactor;}
	public static double usPintsToUSCups(double value){return value*USCupsUSPintsFactor;}
	
	public static double usCupsToUSQuarts(double value){return value/USCupsUSQuartsFactor;}
	public static double usQuartsToUSCups(double value){return value*USCupsUSQuartsFactor;}
	
	public static double usCupsToUSGallons(double value){return value/USCupsUSGallonsFactor;}
	public static double usGallonsToUSCups(double value){return value*USCupsUSGallonsFactor;}
	
	public static double usCupsToUSBarrels(double value){return value/USCupsUSBarrelsFactor;}
	public static double usBarrelsToUSCups(double value){return value*USCupsUSBarrelsFactor;}
	
	public static double usCupsToImperialTeaspoons(double value){return value/USCupsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSCups(double value){return value*USCupsImperialTeaspoonFactor;}
	
	public static double usCupsToImperialTablespoons(double value){return value/USCupsImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSCups(double value){return value*USCupsImperialTablespoonFactor;}
	
	public static double usCupsToImperialFluidounces(double value){return value/USCupsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSCups(double value){return value*USCupsImperialFluidouncesFactor;}
	
	public static double usCupsToImperialPints(double value){return value/USCupsImperialPintsFactor;}
	public static double imperialPintsToUSCups(double value){return value*USCupsImperialPintsFactor;}
	
	public static double usCupsToImperialQuarts(double value){return value/USCupsImperialQuartsFactor;}
	public static double imperialQuartsToUSCups(double value){return value*USCupsImperialQuartsFactor;}
	
	public static double usCupsToImperialGallons(double value){return value/USCupsImperialGallonsFactor;}
	public static double imperialGallonsToUSCups(double value){return value*USCupsImperialGallonsFactor;}
	
	public static double usCupsToImperialBarrels(double value){return value/USCupsImperialBarrelsFactor;}
	public static double imperialBarrelsToUSCups(double value){return value*USCupsImperialBarrelsFactor;}


	
	//US pints to US quarts, US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USPintsUSQuartsFactor					=	2.0;					//1 US quart			=	2.0				US pints.
	public final static double USPintsUSGallonsFactor					=	8.0;					//1 US gallon			=	8.0				US pints.
	public final static double USPintsUSBarrelsFactor					=	252.0;					//1 US barrel			=	252.0			US pints.
	public final static double USPintsImperialTeaspoonFactor			=	0.012509895;			//1 imperial teaspoon	=	0.012509895		US pints.
	public final static double USPintsImperialTablespoonFactor			=	0.037529685;			//1 imperial tablespoon	=	0.037529685		US pints.
	public final static double USPintsImperialFluidouncesFactor			=	0.060047496;			//1 imperial fluid ounce=	0.060047496		US pints.
	public final static double USPintsImperialPintsFactor				=	1.200949926;			//1 imperial pint		=	1.200949926		US pints.
	public final static double USPintsImperialQuartsFactor				=	2.401899851;			//1 imperial quart		=	2.401899851		US pints.
	public final static double USPintsImperialGallonsFactor				=	9.607599404;			//1 imperial gallon		=	9.607599404		US pints.
	public final static double USPintsImperialBarrelsFactor				=	345.873578545;			//1 imperial barrel		=	345.873578545	US pints.

	
	public static double usPintsToUSQuarts(double value){return value/USPintsUSQuartsFactor;}
	public static double usQuartsToUSPints(double value){return value*USPintsUSQuartsFactor;}
	
	public static double usPintsToUSGallons(double value){return value/USPintsUSGallonsFactor;}
	public static double usGallonsToUSPints(double value){return value*USPintsUSGallonsFactor;}
	
	public static double usPintsToUSBarrels(double value){return value/USPintsUSBarrelsFactor;}
	public static double usBarrelsToUSPints(double value){return value*USPintsUSBarrelsFactor;}
	
	public static double usPintsToImperialTeaspoons(double value){return value/USPintsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSPints(double value){return value*USPintsImperialTeaspoonFactor;}
	
	public static double usPintsToImperialTablespoons(double value){return value/USPintsImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSPints(double value){return value*USPintsImperialTablespoonFactor;}
	
	public static double usPintsToImperialFluidounces(double value){return value/USPintsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSPints(double value){return value*USPintsImperialFluidouncesFactor;}
	
	public static double usPintsToImperialPints(double value){return value/USPintsImperialPintsFactor;}
	public static double imperialPintsToUSPints(double value){return value*USPintsImperialPintsFactor;}
	
	public static double usPintsToImperialQuarts(double value){return value/USPintsImperialQuartsFactor;}
	public static double imperialQuartsToUSPints(double value){return value*USPintsImperialQuartsFactor;}
	
	public static double usPintsToImperialGallons(double value){return value/USPintsImperialGallonsFactor;}
	public static double imperialGallonsToUSPints(double value){return value*USPintsImperialGallonsFactor;}
	
	public static double usPintsToImperialBarrels(double value){return value/USPintsImperialBarrelsFactor;}
	public static double imperialBarrelsToUSPints(double value){return value*USPintsImperialBarrelsFactor;}

	
	// US quarts to US gallons, US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USQuartsUSGallonsFactor					=	4.0;					//1 US gallon			=	4.0				US quarts.
	public final static double USQuartsUSBarrelsFactor					=	126.0;					//1 US barrel			=	126.0			US quarts.
	public final static double USQuartsImperialTeaspoonFactor			=	0.006254948;			//1 imperial teaspoon	=	0.006254948		US quarts.
	public final static double USQuartsImperialTablespoonFactor			=	0.018764843;			//1 imperial tablespoon	=	0.018764843		US quarts.
	public final static double USQuartsImperialFluidouncesFactor		=	0.030023748;			//1 imperial fluid ounce=	0.030023748		US quarts.
	public final static double USQuartsImperialPintsFactor				=	0.600474963;			//1 imperial pint		=	0.600474963		US quarts.
	public final static double USQuartsImperialQuartsFactor				=	1.200949926;			//1 imperial quart		=	1.200949926		US quarts.
	public final static double USQuartsImperialGallonsFactor			=	4.803799702;			//1 imperial gallon		=	4.803799702		US quarts.
	public final static double USQuartsImperialBarrelsFactor			=	172.936789273;			//1 imperial barrel		=	172.936789273	US quarts.
	
	public static double usQuartsToUSGallons(double value){return value/USQuartsUSGallonsFactor;}
	public static double usGallonsToUSQuarts(double value){return value*USQuartsUSGallonsFactor;}
	
	public static double usQuartsToUSBarrels(double value){return value/USQuartsUSBarrelsFactor;}
	public static double usBarrelsToUSQuarts(double value){return value*USQuartsUSBarrelsFactor;}
	
	public static double usQuartsToImperialTeaspoons(double value){return value/USQuartsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSQuarts(double value){return value*USQuartsImperialTeaspoonFactor;}
	
	public static double usQuartsToImperialTablespoons(double value){return value/USQuartsImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSQuarts(double value){return value*USQuartsImperialTablespoonFactor;}
	
	public static double usQuartsToImperialFluidounces(double value){return value/USQuartsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSQuarts(double value){return value*USQuartsImperialFluidouncesFactor;}
	
	public static double usQuartsToImperialPints(double value){return value/USQuartsImperialPintsFactor;}
	public static double imperialPintsToUSQuarts(double value){return value*USQuartsImperialPintsFactor;}
	
	public static double usQuartsToImperialQuarts(double value){return value/USQuartsImperialQuartsFactor;}
	public static double imperialQuartsToUSQuarts(double value){return value*USQuartsImperialQuartsFactor;}
	
	public static double usQuartsToImperialGallons(double value){return value/USQuartsImperialGallonsFactor;}
	public static double imperialGallonsToUSQuarts(double value){return value*USQuartsImperialGallonsFactor;}
	
	public static double usQuartsToImperialBarrels(double value){return value/USQuartsImperialBarrelsFactor;}
	public static double imperialBarrelsToUSQuarts(double value){return value*USQuartsImperialBarrelsFactor;}

	
	//US gallons to US barrels, imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USGallonsUSBarrelsFactor					=	31.5;					//1 US barrel			=	31.5			US gallons.
	public final static double USGallonsImperialTeaspoonFactor			=	0.001563737;			//1 imperial teaspoon	=	0.001563737		US gallons.
	public final static double USGallonsImperialTablespoonFactor		=	0.004691211;			//1 imperial tablespoon	=	0.004691211		US gallons.
	public final static double USGallonsImperialFluidouncesFactor		=	0.007505937;			//1 imperial fluid ounce=	0.007505937		US gallons.
	public final static double USGallonsImperialPintsFactor				=	0.150118741;			//1 imperial pint		=	0.150118741		US gallons.
	public final static double USGallonsImperialQuartsFactor			=	0.300237481;			//1 imperial quart		=	0.300237481		US gallons.
	public final static double USGallonsImperialGallonsFactor			=	1.200949926;			//1 imperial gallon		=	1.200949926		US gallons.
	public final static double USGallonsImperialBarrelsFactor			=	43.234197318;			//1 imperial barrel		=	43.234197318	US gallons.
	

	public static double usGallonsToUSBarrels(double value){return value/USGallonsUSBarrelsFactor;}
	public static double usBarrelsToUSGallons(double value){return value*USGallonsUSBarrelsFactor;}
	
	public static double usGallonsToImperialTeaspoons(double value){return value/USGallonsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSGallons(double value){return value*USGallonsImperialTeaspoonFactor;}
	
	public static double usGallonsToImperialTablespoons(double value){return value/USGallonsImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSGallons(double value){return value*USGallonsImperialTablespoonFactor;}
	
	public static double usGallonsToImperialFluidounces(double value){return value/USGallonsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSGallons(double value){return value*USGallonsImperialFluidouncesFactor;}
	
	public static double usGallonsToImperialPints(double value){return value/USGallonsImperialPintsFactor;}
	public static double imperialPintsToUSGallons(double value){return value*USGallonsImperialPintsFactor;}
	
	public static double usGallonsToImperialQuarts(double value){return value/USGallonsImperialQuartsFactor;}
	public static double imperialQuartsToUSGallons(double value){return value*USGallonsImperialQuartsFactor;}
	
	public static double usGallonsToImperialGallons(double value){return value/USGallonsImperialGallonsFactor;}
	public static double imperialGallonsToUSGallons(double value){return value*USGallonsImperialGallonsFactor;}
	
	public static double usGallonsToImperialBarrels(double value){return value/USGallonsImperialBarrelsFactor;}
	public static double imperialBarrelsToUSGallons(double value){return value*USGallonsImperialBarrelsFactor;}

	
	//imperial barrels to imperial teaspoons, imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double USBarrelsImperialTeaspoonFactor			=	20144.053874544;		//1 US barrel =		20144.053874544		imperial teaspoons.
	public final static double USBarrelsImperialTablespoonFactor		=	6714.684624848;			//1 US barrel =		6714.684624848		imperial tablespoons.
	public final static double USBarrelsImperialFluidouncesFactor		=	4196.67789053;			//1 US barrel =		4196.67789053		imperial fluid ounces.
	public final static double USBarrelsImperialPintsFactor				=	209.833894527;			//1 US barrel =		209.833894527		imperial pints.
	public final static double USBarrelsImperialQuartsFactor			=	104.916947263;			//1 US barrel =		104.916947263		imperial quarts.
	public final static double USBarrelsImperialGallonsFactor			=	26.229236816;			//1 US barrel =		26.229236816		imperial gallons.
	public final static double USBarrelsImperialBarrelsFactor			=	0.728589912;			//1 US barrel =		0.728589912			imperial barrels.

	
	public static double usBarrelsToImperialTeaspoons(double value){return value*USBarrelsImperialTeaspoonFactor;}
	public static double imperialTeaspoonsToUSBarrels(double value){return value/USBarrelsImperialTeaspoonFactor;}
	
	public static double usBarrelsToImperialTablespoons(double value){return value*USBarrelsImperialTablespoonFactor;}
	public static double imperialTablespoonsToUSBarrels(double value){return value/USBarrelsImperialTablespoonFactor;}
	
	public static double usBarrelsToImperialFluidounces(double value){return value*USBarrelsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToUSBarrels(double value){return value/USBarrelsImperialFluidouncesFactor;}
	
	public static double usBarrelsToImperialPints(double value){return value*USBarrelsImperialPintsFactor;}
	public static double imperialPintsToUSBarrels(double value){return value/USBarrelsImperialPintsFactor;}
	
	public static double usBarrelsToImperialQuarts(double value){return value*USBarrelsImperialQuartsFactor;}
	public static double imperialQuartsToUSBarrels(double value){return value/USBarrelsImperialQuartsFactor;}
	
	public static double usBarrelsToImperialGallons(double value){return value*USBarrelsImperialGallonsFactor;}
	public static double imperialGallonsToUSBarrels(double value){return value/USBarrelsImperialGallonsFactor;}
	
	public static double usBarrelsToImperialBarrels(double value){return value*USBarrelsImperialBarrelsFactor;}
	public static double imperialBarrelsToUSBarrels(double value){return value/USBarrelsImperialBarrelsFactor;}

	
	
	//imperial teaspoons to imperial tablespoons, imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double ImperialTeaspoonsImperialTablespoonFactor		=	3.0;			//1 imperial tablespoon	=	3.0			imperial teaspoons.
	public final static double ImperialTeaspoonsImperialFluidouncesFactor		=	4.8;			//1 imperial fluid ounce=	4.8			imperial teaspoons.
	public final static double ImperialTeaspoonsImperialPintsFactor				=	96.0;			//1 imperial pint		=	96.0		imperial teaspoons.
	public final static double ImperialTeaspoonsImperialQuartsFactor			=	192.0;			//1 imperial quart		=	192.0		imperial teaspoons.
	public final static double ImperialTeaspoonsImperialGallonsFactor			=	768.0;			//1 imperial gallon		=	768.0		imperial teaspoons.
	public final static double ImperialTeaspoonsImperialBarrelsFactor			=	27648.0;		//1 imperial barrel		=	27648.0		imperial teaspoons.

	public static double imperialTeaspoonsToImperialTablespoons(double value){return value/ImperialTeaspoonsImperialTablespoonFactor;}
	public static double imperialTablespoonsToImperialTeaspoons(double value){return value*ImperialTeaspoonsImperialTablespoonFactor;}
	
	public static double imperialTeaspoonsToImperialFluidounces(double value){return value/ImperialTeaspoonsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToImperialTeaspoons(double value){return value*ImperialTeaspoonsImperialFluidouncesFactor;}

	public static double imperialTeaspoonsToImperialPints(double value){return value/ImperialTeaspoonsImperialPintsFactor;}
	public static double imperialPintsToImperialTeaspoons(double value){return value*ImperialTeaspoonsImperialPintsFactor;}

	public static double imperialTeaspoonsToImperialQuarts(double value){return value/ImperialTeaspoonsImperialQuartsFactor;}
	public static double imperialQuartsToImperialTeaspoons(double value){return value*ImperialTeaspoonsImperialQuartsFactor;}

	public static double imperialTeaspoonsToImperialGallons(double value){return value/ImperialTeaspoonsImperialGallonsFactor;}
	public static double imperialGallonsToImperialTeaspoons(double value){return value*ImperialTeaspoonsImperialGallonsFactor;}
	
	public static double imperialTeaspoonsToImperialBarrels(double value){return value/ImperialTeaspoonsImperialBarrelsFactor;}
	public static double imperialBarrelsToImperialTeaspoons(double value){return value*ImperialTeaspoonsImperialBarrelsFactor;}
	
	//imperial tablespoons to imperial fluid ounces, imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double ImperialTablespoonsImperialFluidouncesFactor		=	1.6;			//1 imperial fluid ounce=	1.6			imperial tablespoons.
	public final static double ImperialTablespoonsImperialPintsFactor			=	32.0;			//1 imperial pint		=	32.0		imperial tablespoons.
	public final static double ImperialTablespoonsImperialQuartsFactor			=	64.0;			//1 imperial quart		=	64.0		imperial tablespoons.
	public final static double ImperialTablespoonsImperialGallonsFactor			=	256.0;			//1 imperial gallon		=	256.0		imperial tablespoons.
	public final static double ImperialTablespoonsImperialBarrelsFactor			=	9216.0;			//1 imperial barrel		=	9216.0		imperial tablespoons.
	
	public static double imperialTablespoonsToImperialFluidounces(double value){return value/ImperialTablespoonsImperialFluidouncesFactor;}
	public static double imperialFluidouncesToImperialTablespoons(double value){return value*ImperialTablespoonsImperialFluidouncesFactor;}

	public static double imperialTablespoonsToImperialPints(double value){return value/ImperialTablespoonsImperialPintsFactor;}
	public static double imperialPintsToImperialTablespoons(double value){return value*ImperialTablespoonsImperialPintsFactor;}

	public static double imperialTablespoonsToImperialQuarts(double value){return value/ImperialTablespoonsImperialQuartsFactor;}
	public static double imperialQuartsToImperialTablespoons(double value){return value*ImperialTablespoonsImperialQuartsFactor;}

	public static double imperialTablespoonsToImperialGallons(double value){return value/ImperialTablespoonsImperialGallonsFactor;}
	public static double imperialGallonsToImperialTablespoons(double value){return value*ImperialTablespoonsImperialGallonsFactor;}
	
	public static double imperialTablespoonsToImperialBarrels(double value){return value/ImperialTablespoonsImperialBarrelsFactor;}
	public static double imperialBarrelsToImperialTablespoons(double value){return value*ImperialTablespoonsImperialBarrelsFactor;}
	
	
	
	//imperial fluid ounces to imperial pints, imperial quarts, imperial gallons, imperial barrels.
	public final static double ImperialFluidouncesImperialPintsFactor			=	20.0;			//1 imperial pint		=	20.0		imperial fluid ounces.
	public final static double ImperialFluidouncesImperialQuartsFactor			=	40.0;			//1 imperial quart		=	40.0		imperial fluid ounces.
	public final static double ImperialFluidouncesImperialGallonsFactor			=	160.0;			//1 imperial gallon		=	160.0		imperial fluid ounces.
	public final static double ImperialFluidouncesImperialBarrelsFactor			=	5760.0;			//1 imperial barrel		=	5760.0		imperial fluid ounces.
	
	public static double imperialFluidouncesToImperialPints(double value){return value/ImperialFluidouncesImperialPintsFactor;}
	public static double imperialPintsToImperialFluidounces(double value){return value*ImperialFluidouncesImperialPintsFactor;}

	public static double imperialFluidouncesToImperialQuarts(double value){return value/ImperialFluidouncesImperialQuartsFactor;}
	public static double imperialQuartsToImperialFluidounces(double value){return value*ImperialFluidouncesImperialQuartsFactor;}

	public static double imperialFluidouncesToImperialGallons(double value){return value/ImperialFluidouncesImperialGallonsFactor;}
	public static double imperialGallonsToImperialFluidounces(double value){return value*ImperialFluidouncesImperialGallonsFactor;}
	
	public static double imperialFluidouncesToImperialBarrels(double value){return value/ImperialFluidouncesImperialBarrelsFactor;}
	public static double imperialBarrelsToImperialFluidounces(double value){return value*ImperialFluidouncesImperialBarrelsFactor;}
	
	
	
	//imperial pints to imperial quarts, imperial gallons, imperial barrels.
	public final static double ImperialPintsImperialQuartsFactor			=	2.0;			//1 imperial quart		=	2.0		imperial pints.
	public final static double ImperialPintsImperialGallonsFactor			=	8.0;			//1 imperial gallon		=	8.0		imperial pints.
	public final static double ImperialPintsImperialBarrelsFactor			=	288.0;			//1 imperial barrel		=	288.0	imperial pints.
	
	
	public static double imperialPintsToImperialQuarts(double value){return value/ImperialPintsImperialQuartsFactor;}
	public static double imperialQuartsToImperialPints(double value){return value*ImperialPintsImperialQuartsFactor;}

	public static double imperialPintsToImperialGallons(double value){return value/ImperialPintsImperialGallonsFactor;}
	public static double imperialGallonsToImperialPints(double value){return value*ImperialPintsImperialGallonsFactor;}
	
	public static double imperialPintsToImperialBarrels(double value){return value/ImperialPintsImperialBarrelsFactor;}
	public static double imperialBarrelsToImperialPints(double value){return value*ImperialPintsImperialBarrelsFactor;}
	
	
	
	//imperial quarts to imperial gallons, imperial barrels.
	public final static double ImperialQuartsImperialGallonsFactor			=	4.0;			//1 imperial gallon		=	4.0		imperial quarts.
	public final static double ImperialQuartsImperialBarrelsFactor			=	144.0;			//1 imperial barrel		=	144.0	imperial quarts.
	
	public static double imperialQuartsToImperialGallons(double value){return value/ImperialQuartsImperialGallonsFactor;}
	public static double imperialGallonsToImperialQuarts(double value){return value*ImperialQuartsImperialGallonsFactor;}
	
	public static double imperialQuartsToImperialBarrels(double value){return value/ImperialQuartsImperialBarrelsFactor;}
	public static double imperialBarrelsToImperialQuarts(double value){return value*ImperialQuartsImperialBarrelsFactor;}
	
	
	
	//imperial gallons to imperial barrels.
	public final static double ImperialGallonsImperialBarrelsFactor			=	36.0;			//1 imperial barrel		=	36.0	imperial gallons.
	
	public static double imperialGallonsToImperialBarrels(double value){return value/ImperialGallonsImperialBarrelsFactor;}
	public static double imperialBarrelsToImperialGallons(double value){return value*ImperialGallonsImperialBarrelsFactor;}

}
